Exemplo n.º 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);
 }
Exemplo n.º 2
0
 private void modelToolStripButton_CheckedChanged(object sender, EventArgs e)
 {
     modelViewer           = new ModelViewer(this);
     modelViewer.MdiParent = this;
     if (modelToolStripButton.Checked)
     {
         modelViewer.Visible = true;
     }
     else
     {
         modelViewer.Visible = false;
     }
 }