Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 21:38:42 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 21:57:50 +0300
commit84503d3af44292d12e80942b22c9f5d6babd85e6 (patch)
treec4f4e46ea5fa8c078334446d186dd12a926fa602 /WaitingFelForm.cs
parent038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (diff)
Should work on all Windows versions now
Diffstat (limited to 'WaitingFelForm.cs')
-rw-r--r--WaitingFelForm.cs4
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;
}