示例#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));
		}