Inheritance: System.Windows.Forms.Control
 /// <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);
 }
 /// <summary>
 /// Creates a new instance of the
 /// <see cref="YaTabControl.ControlCollection"/> class with 
 /// the specified <i>owner</i>.
 /// </summary>
 /// <param name="owner">
 /// The <see cref="YaTabControl"/> that owns this collection.
 /// </param>
 /// <exception cref="ArgumentNullException">
 /// Thrown if <i>owner</i> is <b>null</b>.
 /// </exception>
 /// <exception cref="ArgumentException">
 /// Thrown if <i>owner</i> is not a <see cref="YaTabControl"/>.
 /// </exception>
 public ControlCollection(Control owner)
     : base(owner)
 {
     if (owner == null)
     {
         throw new ArgumentNullException("owner", "Tried to create a YaTabControl.ControlCollection with a null owner.");
     }
     this.owner = owner as YaTabControl;
     if (this.owner == null)
     {
         throw new ArgumentException("Tried to create a YaTabControl.ControlCollection with a non-YaTabControl owner.", "owner");
     }
     monitor = new EventHandler(this.owner.ChildTabTextChanged);
 }