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 /WaitingClovershellForm.cs
parent038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (diff)
Should work on all Windows versions now
Diffstat (limited to 'WaitingClovershellForm.cs')
-rw-r--r--WaitingClovershellForm.cs4
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;
}