public void CreateNewPolygon() { My_Polygon polygon = new My_Polygon(this); UnselectAll(); SelectedFigure = polygon; SelectedFigures.Add(polygon); picture.FigureList.Add(polygon); Lock = true; }
public My_Polygon(My_Polygon item) : base(item) { draw = Draw; }