示例#1
0
        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
        private void HighScoresMenuItem_Click(object sender, EventArgs e)
        {
            var highScores = new HighScoresForm(presenter);

            highScores.ShowDialog();
        }