private void btnChangeMode_Click(object sender, EventArgs e) { Mode1 modeChange; if (mode == 1) { modeChange = new Mode1(2); } else { modeChange = new Mode1(1); } lblMode.Text = "Mode " + mode; modeChange.Show(); this.Hide(); }
private void btnMode1_Click(object sender, EventArgs e) { Form mode1 = new Mode1(1); mode1.Show(); }