/// <summary> /// Copies to. /// </summary> /// <param name="array">The array.</param> /// <param name="index">The index.</param> public void CopyTo(TabPage[] array, int index) { List.CopyTo(array, index); }
/// <summary> /// Indexes the of. /// </summary> /// <param name="item">The item.</param> /// <returns></returns> public int IndexOf(TabPage item) { return List.IndexOf(item); }
/// <summary> /// Adds the specified tab. /// </summary> /// <param name="Tab">The tab.</param> public void Add(TabPage Tab) { List.Add(Tab); Parent.Controls.Add(Tab); }
/// <summary> /// Determines whether [contains] [the specified tab]. /// </summary> /// <param name="Tab">The tab.</param> /// <returns> /// <c>true</c> if [contains] [the specified tab]; otherwise, <c>false</c>. /// </returns> public bool Contains(TabPage Tab) { return List.Contains(Tab); }
/// <summary> /// Inserts the specified index. /// </summary> /// <param name="index">The index.</param> /// <param name="item">The item.</param> public void Insert(int index, TabPage item) { List.Insert(index, item); }
/// <summary> /// Removes the specified tab. /// </summary> /// <param name="Tab">The tab.</param> public void Remove(TabPage Tab) { List.Remove(Tab); }
/// <summary> /// Indexes the of. /// </summary> /// <param name="item">The item.</param> /// <returns></returns> public int IndexOf(TabPage item) { return(List.IndexOf(item)); }
/// <summary> /// Determines whether [contains] [the specified tab]. /// </summary> /// <param name="Tab">The tab.</param> /// <returns> /// <c>true</c> if [contains] [the specified tab]; otherwise, <c>false</c>. /// </returns> public bool Contains(TabPage Tab) { return(List.Contains(Tab)); }