public void addAndExecute(IUndoRedoCommand command)
 {
     redoStack.Clear();
     undoStack.Push(command);
     command.execute();
 }