예제 #1
0
 private void RestorePreviousValue()
 {
     originator.GetStateFromMemento(caretaker.GetMementoAtIndex(currentStep));
     TotalTextBox.Text = originator.GetState().ToString();
     currentStep--;
 }