Beispiel #1
0
 void RoleClient_GetSysCommonPermissionAllCompleted(object sender, GetSysCommonPermissionAllCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Error != null)
         {
             RefreshUI(RefreshedTypes.HideProgressBar);
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.ToString());
             return;
         }
         if (e.Result != null)
         {
             tmpPermission = e.Result.ToList();
         }
     }
     //开始获取HR菜单
     RoleClient.GetHRSysMenuByTypeAsync("0");
 }