Ejemplo n.º 1
0
    void PopulateRegions()
    {
        RegionDropDown.ClearOptions();

        ArrayList regions = RegionManager.GetAllRegions();

        List <string> options = new List <string>();

        foreach (Region region in regions)
        {
            options.Add(region.GetName());
        }

        RegionDropDown.AddOptions(options);
    }