aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Tools
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-15 20:21:11 -0400
committerMichael <[email protected]>2017-04-15 20:21:11 -0400
commit56e216a430694d86c242df763484deba682f3302 (patch)
tree51c6b10eed2ac7208825988ecac346dbb09281f3 /ShiftOS.WinForms/Tools
parent0807e04881336ef51b1c473d2e61d344c8bef113 (diff)
downloadshiftos_thereturn-56e216a430694d86c242df763484deba682f3302.tar.gz
shiftos_thereturn-56e216a430694d86c242df763484deba682f3302.tar.bz2
shiftos_thereturn-56e216a430694d86c242df763484deba682f3302.zip
Hide AL when clicking on window ctrls
Diffstat (limited to 'ShiftOS.WinForms/Tools')
-rw-r--r--ShiftOS.WinForms/Tools/ControlManager.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs
index d12e54a..6d60f9d 100644
--- a/ShiftOS.WinForms/Tools/ControlManager.cs
+++ b/ShiftOS.WinForms/Tools/ControlManager.cs
@@ -270,7 +270,10 @@ namespace ShiftOS.WinForms.Tools
public static void SetupControls(Control frm, bool runInThread = true)
{
SetupControl(frm);
-
+ frm.Click += (o, a) =>
+ {
+ Desktop.HideAppLauncher();
+ };
ThreadStart ts = () =>
{
for (int i = 0; i < frm.Controls.Count; i++)