Ejemplo n.º 1
0
 private void ShowStudentEditWindow(object sender, RoutedEventArgs e)
 {
     StudentEditWindow gw = new StudentEditWindow(SelectedStudent);
     DataContext = gw;
     gw.Show();
     DataContext = this;
 }
Ejemplo n.º 2
0
        private void ShowStudentEditWindow(object sender, RoutedEventArgs e)
        {
            StudentEditWindow gw = new StudentEditWindow(SelectedStudent);

            DataContext = gw;
            gw.Show();
            DataContext = this;
        }