private void next_Click(object sender, EventArgs e) { level_1 a = new level_1(); a.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (comboBox1.Text == "LEVEL 1") { level_1 a = new level_1(); a.Show(); this.Hide(); } else if (comboBox1.Text == "LEVEL 2") { level_2 a = new level_2(); a.Show(); this.Hide(); } else if (comboBox1.Text == "LEVEL 3") { level_3 a = new level_3(); a.Show(); this.Hide(); } else { level_1 a = new level_1(); a.Show(); this.Hide(); } }