コード例 #1
0
ファイル: MainGamesScreen.cs プロジェクト: paulb39/MPChessPC
 private void AIChoosen(object sender, EventArgs e)
 {
     LoadingScreen.Load(ScreenManager, true, new GameplayScreen());
 }
コード例 #2
0
 /// <summary>
 /// Event handler for when the user selects ok on the "are you sure
 /// you want to quit" message box. This uses the loading screen to
 /// transition from the game back to the main menu screen.
 /// </summary>
 private void ConfirmQuitMessageBoxAccepted(object sender, EventArgs e)
 {
     LoadingScreen.Load(ScreenManager, false, null, new BackgroundScreen(),
                        new MainMenuScreen());
 }