private void studentsEmails_btn(object sender, EventArgs e)//getting the student address { this.Hide(); StudentEmailAddressLecturer sea = new StudentEmailAddressLecturer(c, p); sea.ShowDialog(this); }
private void LecSearchEmailById_FormClosed(object sender, FormClosedEventArgs e) { this.Close(); StudentEmailAddressLecturer f = (StudentEmailAddressLecturer)this.Owner; f.Show(); }