コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            MainMenuForm mainMenuForm = new MainMenuForm();

            mainMenuForm.Show();
        }
コード例 #2
0
        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();
            }
        }