private void LoadAreas() { _areas = _catMgr.GetAreas(); AreaComboBox.Items.Clear(); _areas.ToList().ForEach(x => AreaComboBox.Items.Add(x)); }
private void Window_Loaded(object sender, RoutedEventArgs e) { _catMgr = IoC.Get <ICatalogManager>(); var areas = _catMgr.GetAreas(); foreach (var item in areas) { AreaComboBox.Items.Add(item.Name); } }
private void Window_Loaded(object sender, RoutedEventArgs e) { _catMgr = IoC.Get<ICatalogManager>(); var areas = _catMgr.GetAreas(); foreach (var item in areas) { AreaComboBox.Items.Add(item.Name); } }
private void Window_Loaded(object sender, RoutedEventArgs e) { _areas = _catMgr.GetAreas(); _areas.ToList().ForEach(x => AreaComboBox.Items.Add(x)); }