Esempio n. 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public void Remove(TabItem item)
 {
     this.m_Items.Remove(item);
     ;
 }
Esempio n. 2
0
 /// <summary>
 /// Add a TabItem object to the collection
 /// </summary>
 /// <param name="item"></param>
 public void Add(TabItem item)
 {
     item.Click += this.item_Click;
     this.m_Items.Add(item);
     this.m_Parent.TabStrip.ReAlignItems();
 }
Esempio n. 3
0
 /// <summary>
 /// Get the index on the collection the specified TabItem
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public int IndexOf(TabItem item)
 {
     return this.m_Items.IndexOf(item);
 }
Esempio n. 4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="index"></param>
 /// <param name="item"></param>
 public void Insert(int index, TabItem item)
 {
     this.m_Items.Insert(index, item);
 }
Esempio n. 5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public bool Contains(TabItem item)
 {
     return this.m_Items.Contains(item);
 }
Esempio n. 6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="array"></param>
 /// <param name="arrayIndex"></param>
 public void CopyTo(TabItem[] array, int arrayIndex)
 {
     this.m_Items.CopyTo(array, arrayIndex);
 }
Esempio n. 7
0
 /// <summary>
 /// Get the index on the collection the specified TabItem
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public int IndexOf(TabItem item)
 {
     return(this.m_Items.IndexOf(item));
 }
Esempio n. 8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public void Remove(TabItem item)
 {
     this.m_Items.Remove(item);
     ;
 }
Esempio n. 9
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public bool Contains(TabItem item)
 {
     return(this.m_Items.Contains(item));
 }
Esempio n. 10
0
 /// <summary>
 /// Add a TabItem object to the collection
 /// </summary>
 /// <param name="item"></param>
 public void Add(TabItem item)
 {
     item.Click += this.item_Click;
     this.m_Items.Add(item);
     this.m_Parent.TabStrip.ReAlignItems();
 }
Esempio n. 11
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="index"></param>
 /// <param name="item"></param>
 public void Insert(int index, TabItem item)
 {
     this.m_Items.Insert(index, item);
 }