日期:2014-05-18 浏览次数:20752 次
Public Delegate Sub OnGetMarketPricesDelegate(ByVal respUK As betfair.UK.exchange.GetMarketPricesResp, ByVal respAU As betfair.AU.exchange.GetMarketPricesResp, _ ByVal respBetUK As betfair.UK.exchange.GetCurrentBetsResp, ByVal respBetAU As betfair.AU.exchange.GetCurrentBetsResp) Public Shared Event OnGetMarketPrices As OnGetMarketPricesDelegate
AddHandler GetMarketPricesTask.OnGetMarketPrices, AddressOf GetMarketPricesTask_OnGetGetMarketPrices Private Sub GetMarketPricesTask_OnGetGetMarketPrices() If InvokeRequired Then Invoke(New Tasks.GetMarketPricesTask.OnGetMarketPricesDelegate(AddressOf GetMarketPricesTask_OnGetGetMarketPrices), New Object() {respUK, respAU, respBetUK, respBetAU}) Else 'Do Something End If