Beispiel #1
0
 public override void Undo(MapObjects list)
 {
     // Add all objects from clone list to list -
     // opposite to DeleteAll
     foreach (DrawObject o in cloneList)
     {
         list.Add(o);
     }
 }
Beispiel #2
0
        public override void Undo(MapObjects list)
        {
            list.UnselectAll();

            // Add all objects from cloneList to list.
            foreach (DrawObject o in cloneList)
            {
                list.Add(o);
            }
        }
Beispiel #3
0
 public override void Redo(MapObjects list)
 {
     list.UnselectAll();
     list.Add(drawObject);
 }