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

            highScores.ShowDialog();
        }