private void button1_Click(object sender, EventArgs e) { Group4 G4 = new Group4(); this.Hide(); G4.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { sum3 = 0; //เก้บผลรวม G3 sum3 = sum3 + Convert.ToInt32(numericUpDown4.Value); //ดอกเบี้ยบ้าน sum3 = sum3 + Convert.ToInt32(numericUpDown1.Value) * 0.04; //ช่วงปี2558 sum3 = sum3 + Convert.ToInt32(numericUpDown2.Value) * 0.04; //ช่วงปี2562 Group4 gp4 = new Group4(); Program.sum3 = sum3; this.Hide(); gp4.ShowDialog(); }
private void button5_Click(object sender, EventArgs e)//Group4 { Group4 G4 = new Group4(); G4.ShowDialog(); }