Beispiel #1
0
 public static Microsoft.WindowsAPICodePack.Dialogs.TaskDialogResult ShowDialog(this Microsoft.WindowsAPICodePack.Dialogs.TaskDialog dlg, IntPtr OwnerHandle)
 {
     dlg.OwnerWindowHandle = OwnerHandle;
     return(dlg.Show());
 }
Beispiel #2
0
 public static Microsoft.WindowsAPICodePack.Dialogs.TaskDialogResult ShowDialog(this Microsoft.WindowsAPICodePack.Dialogs.TaskDialog dlg)
 {
     dlg.OwnerWindowHandle = Form.ActiveForm.Handle;
     return(dlg.Show());
 }