/// <summary> /// Runs the generate map form. /// </summary> private void RunGenerateMap() { mapGen = new GenerateMap(); mapGen.FormClosed += new FormClosedEventHandler(dialogClosed); mapGen.Show(); isActive = false; }