private void AddCourse_MouseDown(object sender, MouseButtonEventArgs e)
        {
            AddCourseWindow addGrade = new AddCourseWindow(_teacher);

            addGrade.ShowDialog();
            lvCourses.ItemsSource = _teacher.CoursesList;
        }
        // Course Btn Events
        private void SubScribeCourse_MouseDown(object sender, MouseButtonEventArgs e)
        {
            AddCourseWindow addGrade = new AddCourseWindow(_student);

            addGrade.ShowDialog();
            lvCourses.ItemsSource = _student.CoursesList;
        }
 private void AddCourse_MouseDown(object sender, MouseButtonEventArgs e)
 {
     AddCourseWindow addGrade = new AddCourseWindow(_teacher);
     addGrade.ShowDialog();
     lvCourses.ItemsSource = _teacher.CoursesList;
 }
Example #4
0
 // Course Btn Events
 private void SubScribeCourse_MouseDown(object sender, MouseButtonEventArgs e)
 {
     AddCourseWindow addGrade = new AddCourseWindow(_student);
     addGrade.ShowDialog();
     lvCourses.ItemsSource = _student.CoursesList;
 }