Esempio n. 1
0
 private void LoadPreviewer()
 {
     if (previewer == null)
     {
         previewer              = new Previewer(Index, EType.MineCart);
         previewer.FormClosing += new FormClosingEventHandler(editor_FormClosing);
     }
     else
     {
         previewer.Reload(Index, EType.MineCart);
     }
 }
 private void LoadPreviewer()
 {
     if (previewer == null)
     {
         previewer              = new Previewer(Index, EType.Level);
         previewer.FormClosing += new FormClosingEventHandler(editor_FormClosing);
     }
     else
     {
         previewer.Reload((int)this.levelNum.Value, EType.Level);
     }
 }
Esempio n. 3
0
 private void battlePreview_Click(object sender, EventArgs e)
 {
     if (previewer == null || !previewer.Visible)
     {
         previewer = new Previewer(Index, EType.BattleScript);
     }
     else
     {
         previewer.Reload(Index, EType.BattleScript);
     }
     previewer.Show();
     previewer.BringToFront();
 }