public override void Undo(GraphicsList list) { // Add all objects from clone list to list - // opposite to DeleteAll foreach (DrawObject o in cloneList) { list.Add(o); } }
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); }