Example #1
0
 /// <summary>
 /// 处理所有的OnErrRtn****回调事件
 /// </summary>
 protected void CbOnErrRtnFunc(IntPtr pObject, EnumOnErrRtnType type, IntPtr pParam, ThostFtdcRspInfoField pRspInfo)
 {
     if (OnErrRtnEvent != null)
     {
         OnErrRtnEvent(this, new OnErrRtnEventArgs(type, pParam, pRspInfo));
     }
 }
Example #2
0
 public OnErrRtnEventArgs(EnumOnErrRtnType EventType, IntPtr pParam, ThostFtdcRspInfoField pRspInfo)
 {
     this.EventType = EventType;
     this.Param     = pParam;
     this.RspInfo   = pRspInfo;
 }