private void InitializeBuildPage() { m_buildPage = new BuildPageControl(); m_buildPage.Dock = DockStyle.Fill; m_mainPanel.Controls.Add(m_buildPage); AddTabPage(m_buildPage, TAB_NAME_BUILD); m_buildPage.RefreshContent(); if (m_projectManagerPanel != null) { m_projectManagerPanel.RebuildList(); } }
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(); } }