Beispiel #1
0
 private void RequestGridData()
 {
     try
     {
         tlMenus.DataSource = _bll.GetAllMenus(new MenusVM
         {
             FormName      = teQueryFormName.Text.Trim(),
             TabHeaderText = teQueryTabHeaderText.Text.Trim()
         });
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.ToString(), "提示", MessageBoxButtons.OK);
     }
 }
 private void RequestAllMenusData()
 {
     tlueMenu.Properties.DataSource = _bll.GetAllMenus(new MenusVM());
 }