예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            MainMenuForm mainMenuForm = new MainMenuForm();

            mainMenuForm.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            //Stops Music & Jumps Forms
            this.Hide();
            MainMenuForm mainMenu = new MainMenuForm();

            mainMenu.Show();
        }
예제 #3
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            //Stops Music & Jumps To Next Form
            this.Hide();
            MainMenuForm mainMenuForm = new MainMenuForm();

            mainMenuForm.Show();
        }
예제 #4
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            int winstate = Game.winstate;

            if (winstate == 1)
            {
                this.Hide();
                Highscore highscore = new Highscore();
                highscore.Show();
            }
            if (winstate == 0)
            {
                this.Hide();
                MainMenuForm mainMenuForm = new MainMenuForm();
                mainMenuForm.Show();
            }
        }