public SecondScreenThanksState(WindowStateMachine stateMachine)
 {
     stateChangeNextEventHandler = (a, b) => GoToState(new InitialState(this));
     OnInit(stateMachine);
 }
Пример #2
0
 public SecondScreenTextingState(WindowStateMachine stateMachine)
 {
     OnInit(stateMachine);
 }
Пример #3
0
 public SecondButtonActiveState(WindowStateMachine stateMachine)
 {
     stateChangeEventHandler = (a, b) => GoToState(new SecondScreenInitState(this));
     OnInit(stateMachine);
 }
 public SecondScreenTextingState(WindowStateMachine stateMachine)
 {
     OnInit(stateMachine);
 }
 public SecondScreenInitState(WindowStateMachine stateMachine)
 {
     stateChangeEventHandler = (a, b) => GoToState(new SecondScreenTextingState(this));
     OnInit(stateMachine);
 }
Пример #6
0
 // метод инициализации состояния
 protected void OnInit(WindowStateMachine stateMachine)
 {
     sm     = stateMachine;
     window = stateMachine.Window;
     OnEnter();
 }
Пример #7
0
 public SecondScreenThanksState(WindowStateMachine stateMachine)
 {
     stateChangeNextEventHandler = (a, b) => GoToState(new InitialState(this));
     OnInit(stateMachine);
 }
Пример #8
0
 // метод инициализации состояния
 protected void OnInit(WindowStateMachine stateMachine)
 {
     sm = stateMachine;
     window = stateMachine.Window;
     OnEnter();
 }