Ejemplo n.º 1
0
        /// <summary>
        /// Handle LevelEditor button click
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">event</param>
        private void LevelEditorButton_Click(object sender, EventArgs e)
        {
            Hide();
            LevelEditor editor = new LevelEditor();

            editor.FormClosed += delegate { Show(); };
            editor.ShowDialog();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// New TileForm
 /// </summary>
 /// <param name="editor">Reference to the tilemap editor</param>
 public AddTileForm(LevelEditor editor)
 {
     InitializeComponent();
     levelEditor       = editor;
     HeightBox.Enabled = false;
 }