示例#1
0
        public void CreateNewPolygon()
        {
            My_Polygon polygon = new My_Polygon(this);

            UnselectAll();
            SelectedFigure = polygon;
            SelectedFigures.Add(polygon);
            picture.FigureList.Add(polygon);
            Lock = true;
        }
示例#2
0
 public My_Polygon(My_Polygon item)
     : base(item)
 {
     draw = Draw;
 }