/// <summary> /// Creates a new instance of the /// <see cref="ImageTabControl.ScrollerThread"/> class. /// </summary> /// <param name="amount">The amount to scroll.</param> /// <param name="control">The control to scroll.</param> public ScrollerThread(int amount, ImageTabControl control) { this.tabControl = control; this.amount = new object[] { amount }; scroller = new ScrollTabsDelegate(tabControl.ScrollTabs); }
/// <summary> /// Creates a new instance of the /// <see cref="YaTabControl.ScrollerThread"/> class. /// </summary> /// <param name="amount">The amount to scroll.</param> /// <param name="control">The control to scroll.</param> public ScrollerThread(int amount, YaTabControl control) { this.tabControl = control; this.amount = new object[] { amount }; scroller = new ScrollTabsDelegate(tabControl.ScrollTabs); }