Exemple #1
0
 private void AddRedo(CommandWrapper tmpCommandWrapper)
 {
     redoList.Add(tmpCommandWrapper);
 }
Exemple #2
0
 private void AddUndo(CommandWrapper commandWrapper)
 {
     undoList.Add(commandWrapper);
     _cleanUpCount = ((_cleanUpCount < 0) && (redoList.Count > 0)) ? undoList.Count + redoList.Count + 1 : _cleanUpCount++;
 }