public void GameOver() { Level2 form2 = new Level2(); form2.Show(); this.Close(); }
private void innerwall4_Click(object sender, EventArgs e) { Level2 form2 = new Level2(); form2.Show(); this.Close(); }
private void Milko0oLevel(PictureBox[] walls, PictureBox[] beers, PictureBox[] monsters, PictureBox[] win) { this.Hide(); Level2 form2 = new Level2(); //Application.Exit(); form2.ShowDialog(); form2 = null; Show(); }