Beispiel #1
0
 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);
 }
Beispiel #2
0
 private void terrainToolStripButton_CheckedChanged(object sender, EventArgs e)
 {
     terrainViewer           = new TerrainViewer(this);
     terrainViewer.MdiParent = this;
     if (terrainToolStripButton.Checked)
     {
         terrainViewer.Visible = true;
     }
     else
     {
         terrainViewer.Visible = false;
     }
 }