BatchGuy.App.CreateEAC3ToBatchForm.LoadCountries C# (CSharp) Method

LoadCountries() private method

private LoadCountries ( ) : void
return 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