private void GetLocationMatches(string location)
        {
            //Purpose: Populates location combolist with those matching users text, selecting first as default

            Windows.LoadingState(true, this);

            List <WeatherLocation> locations = Feeds.GetWeatherLocations(location);

            if (locations == null)
            {
                MessageBox.Show("Weather service not found, please check your web connection");
                goto Leave;
            }

            listboxLocations.Visible = false;

            switch (locations.Count)
            {
            case 0:
                txtLocation.Text = "Try another location";
                break;

            case 1:
                SetChosenLocation(locations[0]);
                break;

            default:

                listboxLocations.DataSource    = locations;
                listboxLocations.DisplayMember = "Title";
                listboxLocations.ValueMember   = "woeid";
                listboxLocations.Visible       = true;
                break;
            }

Leave:
            Windows.LoadingState(false, this);
        }