Exemplo n.º 1
0
 private void ShowStudentInsertWindow(object sender, RoutedEventArgs e)
 {
     StudentInsertWindow gw = new StudentInsertWindow();
     DataContext = gw;
     gw.Show();
     DataContext = this;
 }
Exemplo n.º 2
0
        private void ShowStudentInsertWindow(object sender, RoutedEventArgs e)
        {
            StudentInsertWindow gw = new StudentInsertWindow();

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