Beispiel #1
0
        private void CreateStudentClick(object sender, RoutedEventArgs e)
        {
            Education         ed = (Education)Educations.SelectedValue;
            CreateEditStudent d  = new CreateEditStudent(ed);

            d.ShowDialog();
        }
Beispiel #2
0
        private void EditStudentClick(object sender, RoutedEventArgs e)
        {
            Student           st = (Student)Students.SelectedValue;
            CreateEditStudent d  = new CreateEditStudent(st);

            d.ShowDialog();
            Exams.ItemsSource = null;
            Exams.ItemsSource = ((Education)Educations.SelectedValue).Exams;
        }
Beispiel #3
0
        private void EditClick(object sender, RoutedEventArgs e)
        {
            CreateEditStudent d = new CreateEditStudent(student);

            d.ShowDialog();
        }