예제 #1
0
 public override void Execute()
 {
     foreach (ObjectInstance inst in _objects)
     {
         _objectSource.RemoveObject(inst);
     }
 }
예제 #2
0
        public override void Undo()
        {
            foreach (ObjectInstance inst in _objects)
            {
                _objectSource.RemoveObject(inst);
            }

            RemoveSelectedObjects(_objects);
        }