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