示例#1
0
 /// <summary>
 /// 处理所有的OnRtn****回调事件
 /// </summary>
 protected void CbOnRtnFunc(IntPtr pObject, EnumOnRtnType type, IntPtr pParam)
 {
     if (OnRtnEvent != null)
     {
         OnRtnEvent(this, new OnRtnEventArgs(type, pParam));
     }
 }
示例#2
0
 public OnRtnEventArgs(EnumOnRtnType EventType, IntPtr pParam)
 {
     this.EventType = EventType;
     this.Param     = pParam;
 }
示例#3
0
 /// <summary>
 /// 处理所有的OnRtn****回调事件
 /// </summary>
 protected void CbOnRtnFunc(IntPtr pObject, EnumOnRtnType type, IntPtr pParam)
 {
     OnRtnEvent?.Invoke(this, new OnRtnEventArgs(type, pParam));
 }