private void button3_Click(object sender, EventArgs e) { this.Hide(); var form1 = new UpdateAdviser(); form1.Closed += (s, args) => this.Close(); form1.Show(); }
private void button22_Click(object sender, EventArgs e) { this.Hide(); var student = new UpdateAdviser(); student.Closed += (s, args) => this.Close(); student.Show(); }