private void button1_Click(object sender, EventArgs e) { if (f7 == null) f7 = new Form7(); f7.fo = label4.Text; f7.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { if (a == true) { if (f5 == null) { f5 = new Form5(); } f5.fo = label4.Text; f5.Show(); this.Hide(); } else if (b == true) { if (f6 == null) { f6 = new Form6(); } f6.fo = label4.Text; f6.Show(); this.Hide(); } else if (c == true) { if (f7 == null) { f7 = new Form7(); } f7.fo = label4.Text; f7.Show(); this.Hide(); } else if (g == true) { if (f9 == null) { f9 = new Form9(); } f9.fo = label4.Text; f9.Show(); this.Hide(); } }
private void button2_Click(object sender, EventArgs e) { if (a == true) { if (f5 == null) f5 = new Form5(); f5.fo = label4.Text; f5.Show(); this.Hide(); } else if (b == true) { if (f6 == null) f6 = new Form6(); f6.fo = label4.Text; f6.Show(); this.Hide(); } else if (c == true) { if (f7 == null) f7 = new Form7(); f7.fo = label4.Text; f7.Show(); this.Hide(); } else if (g == true) { if (f9 == null) f9 = new Form9(); f9.fo = label4.Text; f9.Show(); this.Hide(); } }