private void CallbackQuerylogOK(IAsyncResult ar) { DelegateQueryLog del = (DelegateQueryLog)ar.AsyncState; string re = del.EndInvoke(ar); // AddDebugLog("日志模块", re); view.RefreshLogQueryStat(re); //view.RefreshLogDisp(dt, "0"); }
//private string AnsyQueryLog() //{ // return LoadLogPage(strWhere.ToString(), pageSize, curlogPage, false); //} private void LoadLog() { DelegateQueryLog del = new DelegateQueryLog(AnsyLoadLogPage); IAsyncResult ar = del.BeginInvoke(logQueryCondition, this.pageSize, this.curlogPage, false, new AsyncCallback(CallbackQuerylogOK), del); }