private void RatchetLevelEditor_Load(object sender, EventArgs e) { consoleWindow = new ConsoleWindow(this); consoleWindow.MdiParent = this; consoleWindow.Visible = true; openMap = new MapOpen(this); openMap.ShowDialog(); texWindow = new TextureViewer(this); modelViewer = new ModelViewer(this); objViewer = new ObjectViewer(this); terrainViewer = new TerrainViewer(this); levelObjectViewer = new LevelObjectViewer(this); }
private void objEditTool_CheckedChanged(object sender, EventArgs e) { objViewer = new ObjectViewer(this); objViewer.MdiParent = this; if (objEditTool.Checked) { objViewer.Visible = true; } else { objViewer.Visible = false; } }