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(); }
internal static IRankingPresenter provideRankingPresenter( RankingForm rankingForm) { return(new RankingPresenter(rankingForm)); }