/// <summary> /// 权限视图集合获取完毕 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void RoleClient_GetPermissionByRoleIDCompleted(object sender, GetPermissionByRoleIDCompletedEventArgs e) { //throw new NotImplementedException(); if (!e.Cancelled) { if (e.Error == null) { if (e.Result != null) { EntityPermissionInfosList = e.Result;//权限视图集合 } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.ToString()); return; } } }
void RoleClient_GetPermissionByRoleIDCompleted(object sender, GetPermissionByRoleIDCompletedEventArgs e) { //throw new NotImplementedException(); if (!e.Cancelled) { if (e.Error == null) { if (e.Result != null) { EntityPermissionInfosList = e.Result; } } else { Utility.ShowCustomMessage(MessageTypes.Error,Utility.GetResourceStr("ERROR"),e.Error.ToString()); return; } } }