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

            d.ShowDialog();
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
        private void EditClick(object sender, RoutedEventArgs e)
        {
            CreateEditStudent d = new CreateEditStudent(student);

            d.ShowDialog();
        }