private void GetAreas() { if (_archorList == null) { return; } List <string> areas = _archorList.GetAreas(); areas.Insert(0, "全部"); CbAreas.ItemsSource = areas; }
private void BtnGetAreas_Click(object sender, RoutedEventArgs e) { if (_archorList == null) { return; } List <string> areas = _archorList.GetAreas(); areas.Insert(0, "全部"); CbAreas.ItemsSource = areas; }