/// <summary> /// Adds the contents of another <see cref="TabInfoCollection">TabInfoCollection</see> to the end of the collection. /// </summary> /// <param name="value">A <see cref="TabInfoCollection">TabInfoCollection</see> containing the Components to add to the collection. </param> public void AddRange(TabInfoCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add((TabInfo)value.List[i]); } }
/// <summary> /// Initializes a new instance of the <see cref="TabInfoCollection">TabInfoCollection</see> class containing the elements of the specified source collection. /// </summary> /// <param name="value">A <see cref="TabInfoCollection">TabInfoCollection</see> with which to initialize the collection.</param> public TabInfoCollection(TabInfoCollection value) { this.AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="TabInfoCollectionEnumerator">TabInfoCollectionEnumerator</see> class referencing the specified <see cref="TabInfoCollection">TabInfoCollection</see> object. /// </summary> /// <param name="mappings">The <see cref="TabInfoCollection">TabInfoCollection</see> to enumerate.</param> public TabInfoCollectionEnumerator(TabInfoCollection mappings) { _temp = ((IEnumerable)(mappings)); _enumerator = _temp.GetEnumerator(); }
/// <summary> /// 是不是用户的Tab /// </summary> /// <param name="tabid"></param> /// <param name="usertabs"></param> /// <returns></returns> #if NET1 private bool IsUserTab(int tabid, TabInfoCollection usertabs)