private void gohome_Click(object sender, EventArgs e) { calTAX main = new calTAX(TBearn.Text); Form3 sum = new Form3(); Group1 one = new Group1(TBearn.Text); Group2 two = new Group2(); Group3 three = new Group3(); Group4 four = new Group4(); Group5 five = new Group5(); one.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); Group5 g5 = new Group5(); g5.g1.Text = g1.Text; g5.g2.Text = g2.Text; g5.g3.Text = g3.Text; g5.earn.Text = earn.Text; g5.TBearn.Text = TBall.Text; g5.g4.Text = TBdeduction.Text; g5.Show(); }