Ejemplo n.º 1
0
        public override void Initialize()
        {
            var tabPage = new TabPage { Name = "Part Editor", Text = "Part Editor" };

            _mUi = new PartEditorUi { Dock = DockStyle.Fill };
            tabPage.Controls.Add(_mUi);

            Main.modChangedCallback += _mUi.OnModChanged;
            Main.Instance.m_TabController.m_TabPages.Add("Part Editor", tabPage);
            Main.Instance.m_TabController.ShowTab("Part Editor", 1, false);
        }
Ejemplo n.º 2
0
        public override void Initialize()
        {
            var tabPage = new TabPage {
                Name = "Part Editor", Text = "Part Editor"
            };

            _mUi = new PartEditorUi {
                Dock = DockStyle.Fill
            };
            tabPage.Controls.Add(_mUi);

            Main.modChangedCallback += _mUi.OnModChanged;
            Main.Instance.m_TabController.m_TabPages.Add("Part Editor", tabPage);
            Main.Instance.m_TabController.ShowTab("Part Editor", 1, false);
        }