Example #1
0
 private void ExecuteLoadItemsCommand()
 {
     if (IsBusy)
     {
         return;
     }
     IsBusy = true;
     UserTasks.Clear();
     if (AppService == null || AppService.UserTasks == null)
     {
         IsBusy = false;
         return;
     }
     foreach (var userTask in AppService.UserTasks)
     {
         UserTasks.Add(userTask);
     }
     IsBusy = false;
 }
Example #2
0
 public void ResetUserDefinedTasks()
 {
     UserTasks.Clear();
 }