private void On_GetOutStandingDataCompleted(EngineEventArgs eventArgs) { if (this.GetOutStandingDataCompleted != null) { this.GetOutStandingDataCompleted(this, eventArgs); } }
private void On_FullDataCompleted(EngineEventArgs eventArgs) { if (this.FullDataCompleted != null) { this.FullDataCompleted(this, eventArgs); } }
private void On_UpdateCompleted(EngineEventArgs eventArgs) { if (this.UpdateCompleted != null) { this.UpdateCompleted(this, eventArgs); } }
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; } } }
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; } } }
private void On_BetConfirmCompleted(EngineEventArgs eventArgs) { if (this.BetConfirmCompleted != null) { this.BetConfirmCompleted(this, eventArgs); } }
private void On_BetPrepareCompleted(EngineEventArgs eventArgs) { if (this.BetPrepareCompleted != null) { this.BetPrepareCompleted(this, eventArgs); } }
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; } } }