Пример #1
0
 public void Leave()
 {
     log.DebugFormat("Leaving edit mode state {0}", this.GetType().Name);
     Cleanup();
     this.EditMode = null;
 }
Пример #2
0
 public void Enter(AlwaysEditMode editMode)
 {
     log.DebugFormat("Entering edit mode state {0}", this.GetType().Name);
     this.EditMode = editMode;
     Setup();
 }