private void buttonRestart_Click(object sender, EventArgs e)
        {
            Settings Settings = new Settings();

            Options.OverallScore = 0;
            this.Close();
            Settings.ShowDialog();
        }
Ejemplo n.º 2
0
        private void restartToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Settings Settings = new Settings();

            //resetting the score, closing current form, opening Settings form, effectively restarting game.
            Options.OverallScore = 0;
            this.Close();
            Settings.ShowDialog();
        }
Ejemplo n.º 3
0
        private void restartToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Settings Settings = new Settings();

            Options.OverallScore = 0;
            this.Close();
            Settings.ShowDialog();
        }