Exemplo n.º 1
0
 public override void Undo(ref MokkanList list)
 {
     // Add all objects from clone list to list -
     // opposite to DeleteAll
     foreach (DrawObject o in cloneList)
     {
         list.Add(o);
     }
 }
Exemplo n.º 2
0
 public override void Redo(ref MokkanList list)
 {
     list.UnselectAll();
     foreach (DrawObject o in cloneObjects)
     {
         list.Add(o);
     }
     addedCount = cloneObjects.Count;
 }
Exemplo n.º 3
0
        public override void Undo(ref MokkanList list)
        {
            list.UnselectAll();

            // Add all objects from cloneList to list.
            foreach (DrawObject o in cloneList)
            {
                list.Add(o);
            }
        }