示例#1
0
文件: Circle.cs 项目: A1one35/Lab5
        public override void DrawBlack()
        {
            Graphics graphics = formC.CreateGraphics();

            graphics.DrawEllipse(Pens.Black, x_coordinate, y_coordinate, this.radius, this.radius);
        }
示例#2
0
        public override void DrawBlack()
        {
            Graphics graphics2 = form2.CreateGraphics();

            graphics2.DrawRectangle(Pens.Black, this.x_coordinate, this.y_coordinate, size, size);
        }