示例#1
0
        public ApprSearchEvent GetApprSearchEvent(int groupid)
        {
            ApprSearchEvent e = null;

            if (DicApprSearchEvent.TryGetValue(groupid, out e) == true)
            {
                e = DicApprSearchEvent[groupid];
            }
            return(e);
        }
示例#2
0
        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);
            }
        }
示例#3
0
 public void SetApprSearchEventAdd(int groupid, ApprSearchEvent e)
 {
     DicApprSearchEvent[groupid] = e;
 }