public TabPageEventArgs(int selectIndex, TabPage tabPage)
 {
     this._SelectIndex = selectIndex;
     this._TabPage     = tabPage;
 }
 public TabPageEventArgs(int selectIndex, TabPage tabPage, object other)
 {
     this._SelectIndex = selectIndex;
     this._TabPage     = tabPage;
     this._Other       = other;
 }
 public void Insert(int index, TabPage tabPage)
 {
     this.m_TabPages.Insert(index, tabPage);
 }
 public int IndexOfTabPage(TabPage tabPage)//获取TabPage索引(其实质就是TabButton索引)
 {
     return(this.m_TabButtonList.BaseItems.IndexOf(tabPage.TabButton));
 }
 public void RemoveTabPage(TabPage tabPage)
 {
     this.m_TabPages.Remove(tabPage);
 }
 public int AddTabPage(TabPage tabPage)
 {
     return(this.m_TabPages.Add(tabPage));
 }
 public bool Contains(TabPage tabPage)
 {
     return(this.m_TabButtonList.BaseItems.Contains(tabPage.pTabButtonItem as Ribbon.BaseItem));
 }