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(); }
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(); }