async void OnCityToSelected(object sender, EventArgs e) { CityController.City city = (CityController.City)cityTo.SelectedItem; if (city != null) { m_iCityTo = city.PK; } }
void OnCityTravelTo1Selected(object sender, EventArgs e) { CityController.City city = (CityController.City)cityTravel1.SelectedItem; if (city != null) { cityTravelTo1FK = city.PK; } }