Пример #1
0
 /// <summary>
 /// 移除Item
 /// </summary>
 /// <param name="item">Item</param>
 /// <remarks>移除Item</remarks>
 public void Remove(ButtonItem item)
 {
     List.Remove(item);
 }
Пример #2
0
 /// <summary>
 /// 取得Item索引值
 /// </summary>
 /// <param name="item">Item</param>
 /// <returns>取得Item的索引值</returns>
 public int IndexOf(ButtonItem item)
 {
     return(List.IndexOf(item));
 }
Пример #3
0
 /// <summary>
 /// 在指定位置添加Item
 /// </summary>
 /// <param name="index">索引位置</param>
 /// <param name="item">Item</param>
 public void Insert(int index, ButtonItem item)
 {
     List.Insert(index, item);
 }
Пример #4
0
 /// <summary>
 /// 添加Item
 /// </summary>
 /// <param name="item">Item</param>
 /// <returns>添加Item</returns>
 /// <remarks>添加Item</remarks>
 public int Add(ButtonItem item)
 {
     return(List.Add(item));
 }
Пример #5
0
		/// <summary>
		/// 移除Item
		/// </summary>
		/// <param name="item">Item</param>
		/// <remarks>移除Item</remarks>
		public void Remove(ButtonItem item)
		{
			List.Remove(item);
		}
Пример #6
0
		/// <summary>
		/// 在指定位置添加Item
		/// </summary>
		/// <param name="index">索引位置</param>
		/// <param name="item">Item</param>
		public void Insert(int index, ButtonItem item)
		{
			List.Insert(index, item);
		}
Пример #7
0
		/// <summary>
		/// 取得Item索引值
		/// </summary>
		/// <param name="item">Item</param>
		/// <returns>取得Item的索引值</returns>
		public int IndexOf(ButtonItem item)
		{
			return (List.IndexOf(item));
		}
Пример #8
0
		/// <summary>
		/// 添加Item
		/// </summary>
		/// <param name="item">Item</param>
		/// <returns>添加Item</returns>
		/// <remarks>添加Item</remarks>
		public int Add(ButtonItem item)
		{
			return (List.Add(item));
		}