public ApprSearchEvent GetApprSearchEvent(int groupid) { ApprSearchEvent e = null; if (DicApprSearchEvent.TryGetValue(groupid, out e) == true) { e = DicApprSearchEvent[groupid]; } return(e); }
public void ApprSearchAfterSend(int nRet, int groupId) { ApprSearchEvent ApprSearchResult_Event = sgPageEvent.GetApprSearchEvent(groupId); if (ApprSearchResult_Event != null) { PageEventArgs e = new PageEventArgs(); e.result = nRet; string strMsg = ""; if (nRet != 0) { strMsg = SGApprManageData.FailMessage(eApprManageFail.eNone); } e.strMsg = strMsg; ApprSearchResult_Event(groupId, e); } }
public void SetApprSearchEventAdd(int groupid, ApprSearchEvent e) { DicApprSearchEvent[groupid] = e; }