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