예제 #1
0
 private void fillCBDepartment()
 {
     allDepartments.Clear();
     allDepartments = departmentControl.getAllDepartments();
     allDepartments.Insert(0, new Department(0, "Todos"));
     CBDepartment.ItemsSource = allDepartments;
 }
 private void fillCBDepartment()
 {
     allDepartments.Clear();
     allDepartments           = departmentControl.getAllDepartments();
     CBDepartment.ItemsSource = allDepartments;
 }
예제 #3
0
 public void fillGridDepartment()
 {
     DepartmentList        = CollectionViewSource.GetDefaultView(departmentControl.getAllDepartments());
     DepartmentList.Filter = new Predicate <object>(Filter);
 }