Exemplo n.º 1
0
 private void dtgRoles_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e)
 {
     if (e.AddedItems != null && e.AddedItems.Count > 0)
     {
         var RoleDTO = e.AddedItems[0] as RoleOrRoleGroupDTO;
         if (RoleDTO != null)
         {
             RoleOrRoleGroupSelectedArg arg = new RoleOrRoleGroupSelectedArg();
             arg.RoleOrRoleGroup = RoleDTO;
             if (RoleOrRoleGroupSelected != null)
             {
                 RoleOrRoleGroupSelected(this, arg);
             }
         }
     }
 }
 private void UcRoleList_RoleOrRoleGroupSelected(object sender, RoleOrRoleGroupSelectedArg e)
 {
     RoleOrRoleGroup = e.RoleOrRoleGroup;
     GetMessage();
 }