Exemple #1
0
 private void studentSearchButton_Click(object sender, EventArgs e)
 {
     using (Form_secretaryStudentSearch studentSearch = new Form_secretaryStudentSearch())
     {
         this.Hide();
         studentSearch.ShowDialog(this);
     }
 }
 public SecretarySearchStudents()
 {
     studentSearchForm   = new Form_secretaryStudentSearch();
     studentSearchObject = new PrivateObject(studentSearchForm);
     resultsBox          = studentSearchForm.getStudentsResults();
 }