private void ListBoxStudentResults_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (QueriedStudents == null || ListBoxStudentResults.SelectedIndex < 0 || ListBoxStudentResults.SelectedIndex >= QueriedStudents.Count())
                return;

            Student student = QueriedStudents[ListBoxStudentResults.SelectedIndex];

            FormStudentDetails details = new FormStudentDetails(student);
            details.ShowDialog();

            ButtonStudentUpdateSearch_Click(sender, e);
        }
        private void ListBoxUnscheduledStudents_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (ListBoxUnscheduledStudents.SelectedIndex == -1 || ListBoxUnscheduledStudents.SelectedIndex >= UnscheduledStudents.Count)
                return;

            Student target = UnscheduledStudents[ListBoxUnscheduledStudents.SelectedIndex];

            FormStudentDetails details = new FormStudentDetails(target);
            details.ShowDialog();
        }