Example #1
0
        public void OpenWindowAddStudent()
        {
            WindowAddStudentController addDialog = new WindowAddStudentController(this);

            addDialog.Show();
            windowOwner.Hide();
        }
Example #2
0
 public void OpenWindowAddStudentWithInformation()
 {
     if (SelectedStudent != null)
     {
         WindowAddStudentController editDialog = new WindowAddStudentController(this, SelectedStudent);
         editDialog.Show();
         windowOwner.Hide();
     }
 }