Exemplo n.º 1
0
 public GenUndoRedo(IGenCommand undoCommand, IGenCommand redoCommand)
 {
     RedoCommand = redoCommand;
     UndoCommand = undoCommand;
 }
Exemplo n.º 2
0
        private void AddRedoUndo(IGenCommand undoCommand, IGenCommand redoCommand)
        {
            var undoRedo = new GenUndoRedo(undoCommand, redoCommand);

            GeData.AddRedoUndo(undoRedo);
        }