Beispiel #1
0
        public void addPage(xTabPage page)
        {
            TabPage tp = (TabPage)page.getControl();

            mTab.TabPages.Add(tp);
            //tp.Parent = mTab;
        }
Beispiel #2
0
        public xTabPage getPageAtIndex(int pageIndex)
        {
            TabPage page = mTab.TabPages[pageIndex];

            xTabPage xPage = (xTabPage)page.Tag;

            return(xPage);
        }
Beispiel #3
0
        public void selectPage(xTabPage page)
        {
            TabControl tabControl = (TabControl)this.getControl();

            tabControl.SelectTab((TabPage)page.getControl());
        }
Beispiel #4
0
        public void removePage(xTabPage page)
        {
            TabPage tp = (TabPage)page.getControl();

            mTab.TabPages.Remove(tp);
        }