Esempio n. 1
0
        private void Game_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.Hide();
            StartForm start = new StartForm();

            start.ShowDialog();
            this.Close();
        }
Esempio n. 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            StartForm startScreen = new StartForm();

            Application.Run(startScreen);
            startScreen.BringToFront();
        }
Esempio n. 3
0
        private void button4_Click(object sender, EventArgs e)
        {
            dft    = false;
            p2_cpt = 0;
            p1_cpt = 0;
            this.Hide();
            StartForm new_game = new StartForm();

            new_game.Show();
        }