private void UpdateTransactionsImp(TransactionsEventArgs args) { lblTransactionsIndex.Text = (_transactionsIndex++).ToString(); if (!chkRefreshTransactions.Checked) { return; } jtvTransactionsMessage.ShowJson(args.Message); ovTransactionsMessage.ShowObject(args.Result); }
private void OnTransactions(object sender, TransactionsEventArgs args) { if (InvokeRequired) { Invoke(new Action <TransactionsEventArgs>(UpdateTransactionsImp), args); } else { UpdateTransactionsImp(args); } }
private void GlobalRemoteTransactions(object sender, TransactionsEventArgs e) { RefreshOffers(); }
private static void HandleRemoteTransactions(object sender, TransactionsEventArgs e) { RemoteTransactions?.Invoke(sender, e); }