Beispiel #1
0
        private void menuStudentAddToClass_Click(object sender, RoutedEventArgs e)
        {
            // Open the add student to class window
            AddStudentToClassWindow addToClass = new AddStudentToClassWindow();

            addToClass.ShowDialog();
        }
        private void btnClassAdd_Click(object sender, RoutedEventArgs e)
        {
            // Open the add student to class window
            AddStudentToClassWindow astcw = new AddStudentToClassWindow(selectedStudent_);

            astcw.ShowDialog();

            // Fix class list
            populateClassesList();
        }
Beispiel #3
0
        private void btnAddStudent_Click(object sender, RoutedEventArgs e)
        {
            // Open the add student to class window
            AddStudentToClassWindow adtcw = new AddStudentToClassWindow();

            adtcw.ShowDialog();

            // Update the student list
            updateStudentsList();
        }