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

            mTab.TabPages.Add(tp);
            //tp.Parent = mTab;
        }
示例#2
0
        public void selectPage(xTabPage page)
        {
            TabControl tabControl = (TabControl)this.getControl();

            tabControl.SelectTab((TabPage)page.getControl());
        }
示例#3
0
        public void removePage(xTabPage page)
        {
            TabPage tp = (TabPage)page.getControl();

            mTab.TabPages.Remove(tp);
        }