سلام بر برنامه نویسان عزیز 😉 در این مطلب کد ساخت PointF در سی شارپ #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
کد ساخت PointF در سی شارپ #C :
using System;
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
Form form = new Form();
form.BackColor = Color.White;
form.Paint += new PaintEventHandler(MyPaintHandler);
Application.Run(form);
}
static void MyPaintHandler(object objSender, PaintEventArgs pea)
{
Form form = (Form)objSender;
Graphics g = pea.Graphics;
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
Form form = new Form();
form.BackColor = Color.White;
form.Paint += new PaintEventHandler(MyPaintHandler);
Application.Run(form);
}
static void MyPaintHandler(object objSender, PaintEventArgs pea)
{
Form form = (Form)objSender;
Graphics g = pea.Graphics;