Пример #1
0
        private void Game_FormClosed(object sender, FormClosedEventArgs e)
        {
            this.Hide();
            StartForm start = new StartForm();

            start.ShowDialog();
            this.Close();
        }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            StartForm startScreen = new StartForm();

            Application.Run(startScreen);
            startScreen.BringToFront();
        }
Пример #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();
        }