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

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