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

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