⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 point.cs

📁 一个Wince的小程序
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace SettingInterface
{
    public partial class point  //系统中用到的点,这个元素中包括X坐标Y坐标和编号
    {
        int x, y, num;

        public int Num
        {
            get { return num; }
            set { num = value; }
        }

        public int Y
        {
            get { return y; }
            set { y = value; }
        }

        public int X
        {
            get { return x; }
            set { x = value; }
        }
        public void Set(int x, int y,int num)
        {
            this.x = x;
            this.y = y;
            this.num = num;
        }
        public void Set(Point p, int num)
        {
            this.x = p.X;
            this.y = p.Y;
            this.num = num;
        }
        public point(int x, int y, int num)
        {
            this.x = X;
            this.y = Y;
            this.num = num;
        }
        public point()
        {
            this.x = 0;
            this.y = 0;
            this.num = 0;
        }
        public point(Point p, int num)
        {
            this.x = p.X;
            this.y = p.Y;
            this.num = num;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -