示例#1
0
        private TabPage OpenNewQueryTab(string name)
        {
            var tp  = new TabPage(name);
            var mec = new MongoEditorControl(name);

            mec.Dock = DockStyle.Fill;
            tp.Controls.Add(mec);
            tabControl1.TabPages.Add(tp);
            return(tp);
        }
示例#2
0
文件: MainForm.cs 项目: okku/Mongdio
 private TabPage OpenNewQueryTab(string name)
 {
     var tp = new TabPage(name);
     var mec = new MongoEditorControl(name);
     mec.Dock = DockStyle.Fill;
     tp.Controls.Add(mec);
     tabControl1.TabPages.Add(tp);
     return tp;
 }