/// <summary>
 /// Adds the elements of another SubButtonItemCollection to the end of this SubButtonItemCollection.
 /// </summary>
 /// <param name="items">
 /// The SubButtonItemCollection whose elements are to be added to the end of this SubButtonItemCollection.
 /// </param>
 public virtual void AddRange(SubButtonItemCollection items)
 {
     foreach (SubButtonItem item in items)
     {
         this.List.Add(item);
     }
 }
 public Enumerator(SubButtonItemCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
 /// <summary>
 /// Initializes a new instance of the SubButtonItemCollection class, containing elements
 /// copied from another instance of SubButtonItemCollection
 /// </summary>
 /// <param name="items">
 /// The SubButtonItemCollection whose elements are to be added to the new SubButtonItemCollection.
 /// </param>
 public SubButtonItemCollection(SubButtonItemCollection items)
 {
     this.AddRange(items);
 }
예제 #4
0
			public Enumerator(SubButtonItemCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
예제 #5
0
		/// <summary>
		/// Adds the elements of another SubButtonItemCollection to the end of this SubButtonItemCollection.
		/// </summary>
		/// <param name="items">
		/// The SubButtonItemCollection whose elements are to be added to the end of this SubButtonItemCollection.
		/// </param>
		public virtual void AddRange(SubButtonItemCollection items)
		{
			foreach (SubButtonItem item in items)
			{
				this.List.Add(item);
			}
		}
예제 #6
0
		/// <summary>
		/// Initializes a new instance of the SubButtonItemCollection class, containing elements
		/// copied from another instance of SubButtonItemCollection
		/// </summary>
		/// <param name="items">
		/// The SubButtonItemCollection whose elements are to be added to the new SubButtonItemCollection.
		/// </param>
		public SubButtonItemCollection(SubButtonItemCollection items)
		{
			this.AddRange(items);
		}