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