C#画点point

我学习C#第一课,就这一个点我画了快一星期,再接再厉!
 private void button1_Click(object sender, EventArgs e)
        {
            Graphics g = this.CreateGraphics();
            Point point1 = new Point(0, 0);
            point1.X = 100;
            point1.Y = 100;
            g.FillEllipse(Brushes.Black, point1.X, point1.Y, 10, 10);
        }
        public class point1
        {
            public int X { get; set; }
            public int Y { get; set; }
        }

你可能感兴趣的:(C#,c#,class)