コード例 #1
0
 private void On_GetOutStandingDataCompleted(EngineEventArgs eventArgs)
 {
     if (this.GetOutStandingDataCompleted != null)
     {
         this.GetOutStandingDataCompleted(this, eventArgs);
     }
 }
コード例 #2
0
 private void On_FullDataCompleted(EngineEventArgs eventArgs)
 {
     if (this.FullDataCompleted != null)
     {
         this.FullDataCompleted(this, eventArgs);
     }
 }
コード例 #3
0
 private void On_UpdateCompleted(EngineEventArgs eventArgs)
 {
     if (this.UpdateCompleted != null)
     {
         this.UpdateCompleted(this, eventArgs);
     }
 }
コード例 #4
0
 private void On_FullDataCompleted(EngineEventArgs eventArgs)
 {
     if (this.FullDataCompleted != null)
     {
         this.FullDataCompleted(this, eventArgs);
     }
 }
コード例 #5
0
 private void On_GetOutStandingDataCompleted(EngineEventArgs eventArgs)
 {
     if (this.GetOutStandingDataCompleted != null)
     {
         this.GetOutStandingDataCompleted(this, eventArgs);
     }
 }
コード例 #6
0
 private void _ibetEngine_FullDataCompleted(BaseEngine sender, EngineEventArgs eventArgs)
 {
     switch (eventArgs.Type)
     {
         case eEngineEventType.Success:
             {
                 if (this._listIBETMatch != null)
                 {
                     System.GC.SuppressFinalize(this._listIBETMatch);
                 }
                 this._listIBETMatch = BaseDTO.DeepClone<System.Collections.Generic.List<MatchDTO>>((System.Collections.Generic.List<MatchDTO>)eventArgs.Data);
                 this.lblIbetLastUpdate.Caption = System.DateTime.Now.ToString();
                 this.StartCompareSameMatch();
                 break;
             }
         case eEngineEventType.SessionExpired:
             {
                 this.Stop();
                 this.lblIbetLastUpdate.Caption = "Session Expired";
                 break;
             }
     }
 }
コード例 #7
0
 private void _sbobetEngine_FullDataCompleted(BaseEngine sender, EngineEventArgs eventArgs)
 {
     switch (eventArgs.Type)
     {
         case eEngineEventType.Success:
             {                        
                 this.StartCompareSameMatch();
                 this.lblSbobetLastUpdate.Caption = System.DateTime.Now.ToString();
                 //this.RefreshAllowedListMatches();
                 break;
             }
         case eEngineEventType.SessionExpired:
             {
                 this.Stop();
                 this.lblSbobetLastUpdate.Caption = "Session Expired";
                 break;
             }
     }
 }
コード例 #8
0
 private void On_BetConfirmCompleted(EngineEventArgs eventArgs)
 {
     if (this.BetConfirmCompleted != null)
     {
         this.BetConfirmCompleted(this, eventArgs);
     }
 }
コード例 #9
0
 private void On_BetPrepareCompleted(EngineEventArgs eventArgs)
 {
     if (this.BetPrepareCompleted != null)
     {
         this.BetPrepareCompleted(this, eventArgs);
     }
 }
コード例 #10
0
 private void _ibetSubEngine_GetOutStandingDataCompleted(BaseEngine sender, EngineEventArgs eventArgs)
 {
     switch (eventArgs.Type)
     {
         case eEngineEventType.Success:
             {
                 if (this._listBetInSubMatch != null)
                 {
                     System.GC.SuppressFinalize(this._listBetInSubMatch);
                 }
                 //this._listBetInSubMatch = BaseDTO.DeepClone<System.Collections.Generic.List<BetDTO>>((System.Collections.Generic.List<BetDTO>)eventArgs.Data);
                 this._listAccountInSubOutStanding = BaseDTO.DeepClone<System.Collections.Generic.List<AccountDTO>>((System.Collections.Generic.List<AccountDTO>)eventArgs.Data);
                 this.StartCompareAccounts();
                 this.lblSbobetLastUpdate.Caption = System.DateTime.Now.ToString("hh:mm:ss");
                 //this.RefreshAllowedListMatches();
                 break;
             }
         case eEngineEventType.SessionExpired:
             {
                 this.Stop();
                 this.lblSbobetLastUpdate.Caption = "Session Expired";
                 break;
             }
     }
 }