private void btnAddStudent_Click(object sender, EventArgs e) { StudentRegistrationForm form = new StudentRegistrationForm(StaffId, permission); form.Show(); this.Close(); }