Example #1
0
 /// <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]);
     }
 }
Example #2
0
		/// <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]);
			}
		}
Example #3
0
		/// <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);
		}
Example #4
0
			/// <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();
			}
Example #5
0
        /// <summary>
        /// 是不是用户的Tab
        /// </summary>
        /// <param name="tabid"></param>
        /// <param name="usertabs"></param>
        /// <returns></returns>
#if NET1
        private bool IsUserTab(int tabid, TabInfoCollection usertabs)
Example #6
0
 /// <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);
 }
Example #7
0
 /// <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();
 }