コード例 #1
0
ファイル: MinesweeperForm.cs プロジェクト: softdevops-11/Mik
        private void HighScores_Click(object sender, EventArgs e)
        {
            highScoresForm = new HighScoresForm(this);
            highScores.Sort(new HighScoreComparer());

            foreach (var h in highScores)
            {
                highScoresForm.highScoresBox.Items.Add(h);
            }

            highScoresForm.ShowDialog();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: KKondrashkina/oopCSharp
        private void HighScoresMenuItem_Click(object sender, EventArgs e)
        {
            var highScores = new HighScoresForm(presenter);

            highScores.ShowDialog();
        }