private void GetDetailsQueryData() { try { this.Cursor = Cursors.WaitCursor; bool bResult = true; string strErr = string.Empty; GetQueryDetails(); bResult = Basic_Func.GetMenuListByUserGroup(ref lstDetails, queryDetails, true, ref strErr); SetDetailsQueryData(); if (!bResult || !string.IsNullOrEmpty(strErr)) { Common.Common_Func.ErrorMessage(strErr, "查询失败"); } } catch (Exception ex) { Common.Common_Func.ErrorMessage(ex.Message, "查询失败"); } finally { this.Cursor = Cursors.Default; } }