Exemple #1
0
        private void InitializeScenePage()
        {
            m_scenePage      = new ScenePageControl();
            m_scenePage.Dock = DockStyle.Fill;
            m_mainPanel.Controls.Add(m_scenePage);

            AddTabPage(m_scenePage, TAB_NAME_SCENE);
        }
Exemple #2
0
        public void DeinitializeGameEditorPages()
        {
            UnwatchProjectFileSystem();
            UnwatchSdkFileSystem();

            if (m_scenePage != null)
            {
                RemoveTabPage(TAB_NAME_SCENE);
                m_scenePage.Dispose();
                m_scenePage = null;
            }
            if (m_buildPage != null)
            {
                RemoveTabPage(TAB_NAME_BUILD);
                m_buildPage.Dispose();
                m_buildPage = null;
            }
            if (m_projectManagerPanel != null)
            {
                m_projectManagerPanel.RebuildList();
            }
        }