Esempio n. 1
0
 public void AddAndExecuteCommand(IUndoRedoCommand command)
 {
     _redoStack.Clear();
     _undoStack.Push(command.ExecuteCommand());
     Update();
 }