/// <summary> /// Sets the automatic scroll position. /// </summary> /// <param name="control">The control.</param> /// <param name="value">The value.</param> public static void SetAutoScrollPosition(this ToolStrip control, Point value) { if (control.InvokeRequired) { control.BeginInvoke(new MethodInvoker(() => control.SetAutoScrollPosition(value))); } else { control.AutoScrollPosition = value; control.Refresh(); } }