public void ForceUpdateDecorators() { for (int k = 0; k < NUM_GROUPS; k++) { CountryDecoratorGroupInfo dgi = GetDecoratorGroup(k, false); if (dgi != null) { dgi.UpdateDecorators(true); } } }
public void UpdateDecoratorsCountryName(string oldName, string newName) { for (int k = 0; k < NUM_GROUPS; k++) { CountryDecorator decorator = GetCountryDecorator(k, oldName); if (decorator != null) { decorator.customLabel = newName; CountryDecoratorGroupInfo dg = GetDecoratorGroup(k, false); if (dg != null) { dg.UpdateDecorators(false); } } } }