示例#1
0
 private void NewFileMenuClick_Click(object sender, RoutedEventArgs e)
 {
     Window childWindow = new NewProjectWindow();
     childWindow.ShowInTaskbar = false;
     childWindow.Owner = Application.Current.MainWindow;
     childWindow.DataContext = this.DataContext;
     childWindow.Show();
 }
示例#2
0
 private void new_Project_event_handler(object sender, RoutedEventArgs e)
 {
     Window childWindow = new NewProjectWindow();
     childWindow.ShowInTaskbar = false;
     childWindow.Owner = Application.Current.MainWindow;
     childWindow.DataContext = this.DataContext;
     childWindow.Show();
 }