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

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