Esempio n. 1
0
 private void CancelButton_Click(object sender, RoutedEventArgs e)
 {
     _eventManager.Notice(new ChangeStateEvent()
     {
         NextState = Enums.States.Profile
     });
 }
Esempio n. 2
0
 private void MainMenuButton_Click(object sender, MouseButtonEventArgs e)
 {
     _eventManager.Notice(new ChangeStateEvent()
     {
         NextState = Enums.States.MainMenu
     });
 }
 private void RequestChangeState(Enums.States state)
 {
     _eventManager.Notice(new ChangeStateEvent()
     {
         NextState = state
     });
 }