示例#1
0
        } //Opens the Map Editor (and returns a referece to it)

        Tools.ChunkMappingsEditor.MainForm OpenMappingsEditor()
        {
            var frm = new Tools.ChunkMappingsEditor.MainForm();

            frm.Show(dpMain, WeifenLuo.WinFormsUI.Docking.DockState.Document);
            return(frm);
        } //Opens the Chunk Mappings Editor (and returns a referece to it)
示例#2
0
        } //Opens the Map Editor (and returns a referece to it)

        Tools.ChunkMappingsEditor.MainForm OpenMappingsEditor()
        {
            var frm = new Tools.ChunkMappingsEditor.MainForm();

            frm.TopLevel        = false;
            frm.ControlBox      = false;
            frm.FormBorderStyle = FormBorderStyle.None;
            frm.Dock            = DockStyle.Fill;
            var newTab = new TabPage(frm.Text);

            newTab.Controls.Add(frm);
            TabControl.TabPages.Add(newTab);
            TabControl.SelectedTab = newTab;
            frm.Show();
            return(frm);
        } //Opens the Chunk Mappings Editor (and returns a referece to it)