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