public override void Undo(GraphicsList list) { list.UnselectAll(); // Add all objects from cloneList to list. foreach(DrawObject o in cloneList) { list.Add(o); } }
public override void Redo(GraphicsList list) { list.UnselectAll(); list.Add(drawObject); }