private void SafeUpdateScrollBars() { if (InvokeRequired) Invoke(new MethodInvoker(UpdateScrollBars)); else UpdateScrollBars(); }