public SGData GetApprManageData(int groupid) { SGApprManageData tmpData = null; if (m_DicApprManageData.TryGetValue(groupid, out tmpData) != true) { return(null); } return(m_DicApprManageData[groupid]); }
public void SetApprManageData(HsNetWork hs, int groupid, SGData data) { SGApprManageData tmpData = null; if (m_DicApprManageData.TryGetValue(groupid, out tmpData) == true) { m_DicApprManageData.Remove(groupid); tmpData = null; } tmpData = new SGApprManageData(); tmpData.Copy(hs, data); m_DicApprManageData[groupid] = tmpData; }
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); } }