BatchGuy.App.CreateEAC3ToBatchForm.LoadCountries C# (CSharp) Méthode

LoadCountries() private méthode

private LoadCountries ( ) : void
Résultat void
        private void LoadCountries()
        {
            ICountryCodeService service = new CountryCodeService(new JsonSerializationService<ISOCountryCodeCollection>());
            var countryCodes = service.GetCountryCodes();
            foreach (var countryCode in countryCodes)
            {
                _bindingListCountries.Add(countryCode);
            }
            bsCountries.DataSource = _bindingListCountries;
            _bindingListCountries.AllowEdit = false;
        }
CreateEAC3ToBatchForm