private void button1_Click(object sender, EventArgs e) { reservoirUpdateP2 rup2 = new reservoirUpdateP2(p1, p2, p3, p4, p5, p6, p7, p8); rup2.Show(); this.Hide(); }
private void button3_Click(object sender, EventArgs e) { string p1 = textBox1.Text; string p2 = textBox2.Text; string p3 = textBox3.Text; string p4 = textBox4.Text; string p5 = textBox5.Text; string p6 = textBox6.Text; string p7 = textBox7.Text; string p8 = textBox8.Text; reservoirUpdateP2 rup2 = new reservoirUpdateP2(p1, p2, p3, p4, p5, p6, p7, p8); rup2.Show(); this.Hide(); }