سلام بر تمامی برنامه نویسان #C 😉 در این مطلب از وب سایت پروگرم 98 کد متد TranslateTransform برای Graphics در #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
کد متد TranslateTransform برای Graphics در #C :
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
public class Form1 : Form {
protected override void OnPaint(PaintEventArgs e) {
Graphics g = e.Graphics;
g.FillRectangle(Brushes.White, this.ClientRectangle);
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
public class Form1 : Form {
protected override void OnPaint(PaintEventArgs e) {
Graphics g = e.Graphics;
g.FillRectangle(Brushes.White, this.ClientRectangle);