سلام بر تمامی برنامه نویسان سی شارپ 😉 در این مطلب آموزش متدهای Ceiling و Round و Truncate برای Point در #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد متدهای Ceiling و Round و Truncate برای Point در #C :
using System;
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
PointF pt1 = new PointF(30.6f, 30.8f);
PointF pt2 = new PointF(50.3f, 60.7f);
PointF pt3 = new PointF(110.3f, 80.5f);
using System.Drawing;
using System.Windows.Forms;
class PaintHello
{
public static void Main()
{
PointF pt1 = new PointF(30.6f, 30.8f);
PointF pt2 = new PointF(50.3f, 60.7f);
PointF pt3 = new PointF(110.3f, 80.5f);