Example #1
0
 private void RequestMenusData()
 {
     try
     {
         this.tlMenus.DataSource = null;
         this.tlMenus.DataSource = _bll.GetMenus(new RoleMenusVM {
             RoleID = (int)this.slueRoles.EditValue
         });
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.ToString(), "提示", MessageBoxButtons.OK);
     }
 }