/// <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);
 }
Ejemplo n.º 4
0
			public Enumerator(SubButtonItemCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Ejemplo n.º 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);
			}
		}
Ejemplo n.º 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);
		}