Esempio n. 1
0
 private void PrepareStackToPerformUndo()
 {
     addedObject = new TestObject();
     stack.AddItem(addedObject);
 }
Esempio n. 2
0
 private void PrepareStackWithItemToPerformRedo()
 {
     undoneObject = new TestObject();
     stack.AddItem(undoneObject);
     stack.Undo(); // So we now should have it in the redo list
 }