/// <summary>
 /// Removes the first occurrence of a specific SubButtonItem from this SubButtonItemCollection.
 /// </summary>
 /// <param name="value">
 /// The SubButtonItem value to remove from this SubButtonItemCollection.
 /// </param>
 public virtual void Remove(SubButtonItem value)
 {
     this.List.Remove(value);
 }
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this SubButtonItemCollection
 /// </summary>
 /// <param name="value">
 /// The SubButtonItem value to locate in the SubButtonItemCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(SubButtonItem value)
 {
     return(this.List.IndexOf(value));
 }
 /// <summary>
 /// Inserts an element into the SubButtonItemCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the SubButtonItem is to be inserted.
 /// </param>
 /// <param name="value">
 /// The SubButtonItem to insert.
 /// </param>
 public virtual void Insert(int index, SubButtonItem value)
 {
     this.List.Insert(index, value);
 }
 /// <summary>
 /// Adds an instance of type SubButtonItem to the end of this SubButtonItemCollection.
 /// </summary>
 /// <param name="value">
 /// The SubButtonItem to be added to the end of this SubButtonItemCollection.
 /// </param>
 public virtual void Add(SubButtonItem value)
 {
     this.List.Add(value);
 }
 /// <summary>
 /// Determines whether a specfic SubButtonItem value is in this SubButtonItemCollection.
 /// </summary>
 /// <param name="value">
 /// The SubButtonItem value to locate in this SubButtonItemCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this SubButtonItemCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(SubButtonItem value)
 {
     return(this.List.Contains(value));
 }
Пример #6
0
		/// <summary>
		/// Removes the first occurrence of a specific SubButtonItem from this SubButtonItemCollection.
		/// </summary>
		/// <param name="value">
		/// The SubButtonItem value to remove from this SubButtonItemCollection.
		/// </param>
		public virtual void Remove(SubButtonItem value)
		{
			this.List.Remove(value);
		}
 public SubButtonItemEventArgs(SubButtonItem p_Item)
 {
     m_SubItem = p_Item;
 }
Пример #8
0
		/// <summary>
		/// Return the zero-based index of the first occurrence of a specific value
		/// in this SubButtonItemCollection
		/// </summary>
		/// <param name="value">
		/// The SubButtonItem value to locate in the SubButtonItemCollection.
		/// </param>
		/// <returns>
		/// The zero-based index of the first occurrence of the _ELEMENT value if found;
		/// -1 otherwise.
		/// </returns>
		public virtual int IndexOf(SubButtonItem value)
		{
			return this.List.IndexOf(value);
		}
Пример #9
0
		/// <summary>
		/// Inserts an element into the SubButtonItemCollection at the specified index
		/// </summary>
		/// <param name="index">
		/// The index at which the SubButtonItem is to be inserted.
		/// </param>
		/// <param name="value">
		/// The SubButtonItem to insert.
		/// </param>
		public virtual void Insert(int index, SubButtonItem value)
		{
			this.List.Insert(index, value);
		}
Пример #10
0
		/// <summary>
		/// Determines whether a specfic SubButtonItem value is in this SubButtonItemCollection.
		/// </summary>
		/// <param name="value">
		/// The SubButtonItem value to locate in this SubButtonItemCollection.
		/// </param>
		/// <returns>
		/// true if value is found in this SubButtonItemCollection;
		/// false otherwise.
		/// </returns>
		public virtual bool Contains(SubButtonItem value)
		{
			return this.List.Contains(value);
		}
Пример #11
0
		/// <summary>
		/// Adds an instance of type SubButtonItem to the end of this SubButtonItemCollection.
		/// </summary>
		/// <param name="value">
		/// The SubButtonItem to be added to the end of this SubButtonItemCollection.
		/// </param>
		public virtual void Add(SubButtonItem value)
		{
			this.List.Add(value);
		}
Пример #12
0
		/// <summary>
		/// Adds the elements of an array to the end of this SubButtonItemCollection.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the end of this SubButtonItemCollection.
		/// </param>
		public virtual void AddRange(SubButtonItem[] items)
		{
			foreach (SubButtonItem item in items)
			{
				this.List.Add(item);
			}
		}
Пример #13
0
		/// <summary>
		/// Initializes a new instance of the SubButtonItemCollection class, containing elements
		/// copied from an array.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the new SubButtonItemCollection.
		/// </param>
		public SubButtonItemCollection(SubButtonItem[] items)
		{
			this.AddRange(items);
		}
Пример #14
0
		public SubButtonItemEventArgs(SubButtonItem p_Item)
		{
			m_SubItem = p_Item;
		}