private void fillCBOffice() { allOffices.Clear(); allOffices = officeControl.getAllOffices(); allOffices.Insert(0, new Office(0, "Todos")); CBOffice.ItemsSource = allOffices; }
private void fillCBOffice() { allOffices.Clear(); allOffices = officeControl.getAllOffices(); CBOffice.ItemsSource = allOffices; }
public void fillGridOffice() { OfficeList = CollectionViewSource.GetDefaultView(officeControl.getAllOffices()); OfficeList.Filter = new Predicate <object>(Filter); }