Exemplo n.º 1
0
 public void Reset()
 {
     AquiredDate = null;
     SelectedEmployees.Clear();
     SelectedDepartment = null;
     SelectedFunction   = null;
     AvailableFunctions.Clear();
     NotifyOfPropertyChange(() => CanSave);
     NotifyOfPropertyChange(() => CanReset);
 }
Exemplo n.º 2
0
 public void CancelDept()
 {
     if (!string.IsNullOrWhiteSpace(DeptName))
     {
         DeptName           = null;
         SelectedDepartment = null;
         AvailableFunctions.Clear();
         NotifyOfPropertyChange(() => CanDeleteDept);
         NotifyOfPropertyChange(() => CanDeptFunctToggle);
         NotifyOfPropertyChange(() => CanSaveAll);
         NotifyOfPropertyChange(() => CanAvailableFunctionsInitialize);
         NotifyOfPropertyChange(() => CanDeptName);
     }
 }