private void uxEditM_Click(object sender, EventArgs e) { editor = new uxEditorForm(); this.Hide(); editor.SetMap(_map); editor.ShowDialog(); _map = editor.ReturnMap(); this.Show(); }
private void uxNewM_Click(object sender, EventArgs e) { editor = new uxEditorForm(); editor.MakeNew(); this.Hide(); editor.ShowDialog(); _map = editor.ReturnMap(); this.Show(); uxEditM.Enabled = true; uxViewM.Enabled = true; viewer = new uxViewer(); }