private void comboBoxRegion_SelectedIndexChanged(object sender, EventArgs e) { string[] loadArea = new string[0]; string[] cpNames = new string[0]; enableRegionInput(); managerMaster.EnableVehicleBox(); switch (comboBoxRegion.Text) { case "Afghanistan": locationID = 10; loadArea = LoadAreas.afgh; cpNames = EnemyInfo.GetCPNames(EnemyInfo.AfghCPs); break; case "Central Africa": locationID = 20; loadArea = LoadAreas.mafr; cpNames = EnemyInfo.GetCPNames(EnemyInfo.MafrCPs); break; case "Mother Base": locationID = 50; loadArea = LoadAreas.mtbs; cpNames = EnemyInfo.GetCPNames(EnemyInfo.MtbsCP); disableRegionInput(); managerMaster.DisableVehicleBox(); comboBoxRadius.Text = "1"; break; } UpdateComboBox(comboBoxLoadArea, loadArea); UpdateComboBox(comboBoxCP, cpNames); }