private void comboBoxCounties_SelectedIndexChanged(object sender, EventArgs e) { var countyName = comboBoxCounties.SelectedItem.ToString(); comboBoxCities.DataSource = _failureRepository.GetCitiesByCountyComboBox(countyName); }
private void comboBoxCounties_SelectedIndexChanged(object sender, EventArgs e) { var countyName = comboBoxCounties.SelectedItem.ToString(); comboBoxCities.DataSource = _failureRepository.GetCitiesByCountyComboBox(countyName); }