private void CbCustomers_SelectionEffectivelyChanged(FilterableComboBox arg1, object arg2) { var customer = arg2 as Customer; cbLocations.ItemsSource = ManagementVM.Locations.Where(c => c.CustomerId == customer.Id); cbLocations.SelectedIndex = 0; var location = cbLocations.SelectedItem as Location; cbLocations.Text = location.ToString(); }
private void CbAdministrators_SelectionEffectivelyChanged(FilterableComboBox arg1, object arg2) { FilterAdministratorSelected(arg2 as AdministratorCompany); }