Interaction logic for AddCourseWindow.xaml
Inheritance: System.Windows.Window
コード例 #1
0
        private void AddCourse_MouseDown(object sender, MouseButtonEventArgs e)
        {
            AddCourseWindow addGrade = new AddCourseWindow(_teacher);

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

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