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