private void ShowAbout(object sender, RoutedEventArgs e) { try { var w = new wAbout(); var wih = new System.Windows.Interop.WindowInteropHelper(w); wih.Owner = (IntPtr)dApp.AppWindow.Handle; w.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }