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