Esempio n. 1
0
 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()); }
 }
Esempio n. 2
0
 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()); }
 }