コード例 #1
0
        public void AddHighScore(int score, int coins, Difficulty dif)
        {
            if (InvokeRequired)
            {
                Invoke(new Action <int, int, Difficulty>(AddHighScore), new object[] { score, coins, dif });
                return;
            }
            frmScores form = new frmScores();

            form.Show();
            form.parseScore(score, dif, coins);
        }
コード例 #2
0
        private void mnuHighScores_Click(object sender, EventArgs e)
        {
            frmScores form = new frmScores();

            form.Show();
        }