private void Game_FormClosed(object sender, FormClosedEventArgs e) { this.Hide(); StartForm start = new StartForm(); start.ShowDialog(); this.Close(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); StartForm startScreen = new StartForm(); Application.Run(startScreen); startScreen.BringToFront(); }
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(); }