示例#1
0
文件: UserVM.cs 项目: mehabadi/HPMS
 private void preload()
 {
     ShowBusyIndicator();
     userService.GetAllUserGroupsDescriptions((res, exp) => appController.BeginInvokeOnDispatcher(() =>
     {
         HideBusyIndicator();
         if (exp == null)
         {
             UserGroupList = res;
             if (actionType == ActionType.ModifyUser)
             {
                 loadUser();
             }
         }
         else
         {
             appController.HandleException(exp);
         }
     }));
 }