private void backBut_Click(object sender, EventArgs e) { Form0 fr = new Form0(acedemicYear, sem, exam, branch); this.Hide(); fr.ShowDialog(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { string ay = aySel.Text; string sem = semSel.Text; string exam = exSel.Text; string branch = braSel.Text; Form0 fr = new Form0(ay, sem, exam, branch); this.Hide(); fr.ShowDialog(); this.Close(); }