コード例 #1
0
 private void BtnBorderMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     try
     {
         var w   = new wSettings();
         var wih = new System.Windows.Interop.WindowInteropHelper(w);
         wih.Owner = (IntPtr)dApp.AppWindow.Handle;
         w.ShowDialog();
         LoadPresets();
     }
     catch (Exception ex) { MessageBox.Show(ex.ToString()); }
 }
コード例 #2
0
ファイル: UI.xaml.cs プロジェクト: cdrpro-macros/quick-export
 private void BtnBorderMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     try
     {
         var w = new wSettings();
         var wih = new System.Windows.Interop.WindowInteropHelper(w);
         wih.Owner = (IntPtr)dApp.AppWindow.Handle;
         w.ShowDialog();
         LoadPresets();
     }
     catch (Exception ex) { MessageBox.Show(ex.ToString()); }
 }