示例#1
0
 public IWindowFrame Add(IWindowPane pane, string tabCaption)
 {
     var tabPage = new TabPage(tabCaption);
     tabCtrl.TabPages.Add(tabPage);
     var frame = new TabControlWindowFrame(tabCtrl, tabPage, pane, services);
     return frame;
 }
示例#2
0
        public IWindowFrame Add(IWindowPane pane, string tabCaption)
        {
            var tabPage = new TabPage(tabCaption);

            tabCtrl.TabPages.Add(tabPage);
            var frame = new TabControlWindowFrame(tabCtrl, tabPage, pane, services);

            return(frame);
        }
示例#3
0
        public IWindowFrame Attach(IWindowPane pane, TabPage tabPage)
        {
            var frame = new TabControlWindowFrame(tabCtrl, tabPage, pane, services);

            return(frame);
        }
示例#4
0
 public IWindowFrame Attach(IWindowPane pane, TabPage tabPage)
 {
     var frame = new TabControlWindowFrame(tabCtrl, tabPage, pane, services);
     return frame;
 }