Exemplo n.º 1
0
 private void RequestRolesData()
 {
     try
     {
         gcRoles.DataSource = _bll.GetUserNotHaveRoles(new UserRolesVM {
             UserID = (int)this.slueUsers.EditValue
         });
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.ToString(), "提示", MessageBoxButtons.OK);
     }
 }