예제 #1
0
 private void Tetris_Form_ShowRanking(object sender, System.EventArgs e)
 {
     PauseGame();
     rankingForm = new RankingForm(game.scores);
     rankingForm.bEmpty.Click += new System.EventHandler(RankingForm_Empty_Click);
     rankingForm.ShowDialog();
     ResumeGame();
 }
예제 #2
0
 internal static IRankingPresenter provideRankingPresenter(
     RankingForm rankingForm)
 {
     return(new RankingPresenter(rankingForm));
 }