Beispiel #1
0
        private void GradeManagementForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            Manager.ChosenStudent = null;
            StudentManagementForm form = new StudentManagementForm();

            form.Show();
        }
 private void manageStudentsButton_Click(object sender, EventArgs e)
 {
     if (classesListBox.SelectedIndex >= 0)
     {
         Manager.ChosenClass = (Class)classesListBox.SelectedItem;
         StudentManagementForm studentManagementForm = new StudentManagementForm();
         this.Hide();
         studentManagementForm.Show();
     }
 }