public void CreateNewEllipse() { My_Ellipse ellipse = new My_Ellipse(this); UnselectAll(); SelectedFigure = ellipse; SelectedFigures.Add(ellipse); picture.FigureList.Add(ellipse); Lock = true; }
public My_Ellipse(My_Ellipse item) : base(item) { this.rect = item.rect; draw = Draw; }