/// <summary> /// 处理所有的OnFront****回调事件 /// </summary> protected void CbOnFrontFunc(IntPtr pObject, EnumOnFrontType type, int nReason) { if (OnFrontEvent != null) { OnFrontEvent(this, new OnFrontEventArgs(type, nReason)); } }
public OnFrontEventArgs(EnumOnFrontType EventType, int nReason) { this.EventType = EventType; this.Reason = nReason; }
/// <summary> /// 处理所有的OnFront****回调事件 /// </summary> protected void CbOnFrontFunc(IntPtr pObject, EnumOnFrontType type, int nReason) { OnFrontEvent?.Invoke(this, new OnFrontEventArgs(type, nReason)); }