예제 #1
0
 private void CtrlN()
 {
     NewJobWindow njWindow = new NewJobWindow();
     njWindow.Owner = MainWindow.mainWindow;
     njWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
     njWindow.Show();
 }
예제 #2
0
 private void btAddNewJob_Click(object sender, RoutedEventArgs e)
 {
     NewJobWindow njWindow = new NewJobWindow();
     njWindow.Owner = this;
     njWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
     njWindow.Show();
 }