private void RequestRolesData()
 {
     try
     {
         slueRoles.Properties.DataSource = _bll.GetRoles(new RolesVM());
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.ToString(), "提示", MessageBoxButtons.OK);
     }
 }
Exemple #2
0
 private void RequestGridData()
 {
     try
     {
         gcRoles.DataSource = _bll.GetRoles(new RolesVM {
             Name = this.teQueryName.Text.Trim()
         });
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.ToString(), "提示", MessageBoxButtons.OK);
     }
 }