diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-03-18 21:38:42 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-03-18 21:57:50 +0300 |
commit | 84503d3af44292d12e80942b22c9f5d6babd85e6 (patch) | |
tree | c4f4e46ea5fa8c078334446d186dd12a926fa602 /WaitingClovershellForm.cs | |
parent | 038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (diff) |
Should work on all Windows versions now
Diffstat (limited to 'WaitingClovershellForm.cs')
-rw-r--r-- | WaitingClovershellForm.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WaitingClovershellForm.cs b/WaitingClovershellForm.cs index 5e466ac8..d33b9115 100644 --- a/WaitingClovershellForm.cs +++ b/WaitingClovershellForm.cs @@ -17,11 +17,11 @@ namespace com.clusterrr.hakchi_gui timer.Enabled = true;
}
- public static bool WaitForDevice()
+ public static bool WaitForDevice(IWin32Window owner)
{
if (DeviceExists()) return true;
var form = new WaitingClovershellForm();
- form.ShowDialog();
+ form.ShowDialog(owner);
return form.DialogResult == DialogResult.OK;
}
|