From 0bc8eef195e7da04ea89481ede327bf37d591659 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 14 Apr 2017 19:08:25 -0400 Subject: [PATCH] Fix UI setup bug. --- ShiftOS.WinForms/Tools/ControlManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs index 1c6f40c..d12e54a 100644 --- a/ShiftOS.WinForms/Tools/ControlManager.cs +++ b/ShiftOS.WinForms/Tools/ControlManager.cs @@ -146,7 +146,6 @@ namespace ShiftOS.WinForms.Tools { Desktop.InvokeOnWorkerThread(new Action(() => { - SuspendDrawing(ctrl); ctrl.SuspendLayout(); })); if (!(ctrl is MenuStrip) && !(ctrl is ToolStrip) && !(ctrl is StatusStrip) && !(ctrl is ContextMenuStrip)) @@ -247,7 +246,6 @@ namespace ShiftOS.WinForms.Tools MakeDoubleBuffered(ctrl); ctrl.ResumeLayout(); - ResumeDrawing(ctrl); }); ControlSetup?.Invoke(ctrl); }