diff options
Diffstat (limited to 'WaitingFelForm.cs')
-rw-r--r-- | WaitingFelForm.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WaitingFelForm.cs b/WaitingFelForm.cs index 072d9c4a..e84aa45f 100644 --- a/WaitingFelForm.cs +++ b/WaitingFelForm.cs @@ -21,11 +21,11 @@ namespace com.clusterrr.hakchi_gui timer.Enabled = true;
}
- public static bool WaitForDevice(UInt16 vid, UInt16 pid)
+ public static bool WaitForDevice(UInt16 vid, UInt16 pid, IWin32Window owner)
{
if (Fel.DeviceExists(vid, pid)) return true;
var form = new WaitingFelForm(vid, pid);
- form.ShowDialog();
+ form.ShowDialog(owner);
return form.DialogResult == DialogResult.OK;
}
|