Beispiel #1
0
 static void OnAccountManagerRpcBalanceChanged(object sender, AccountBalanceChangedEventArgs e)
 {
     Application.Instance.AsyncInvoke(() => {
         Utilities.BindingsToAccountBalance.Update();
         SendCoinsView.ViewModel.BalanceSpendable = e.AccountBalance.Spendable;
     });
 }
Beispiel #2
0
 static void OnAccountManagerBalanceChanged(object sender, AccountBalanceChangedEventArgs e)
 {
     // This event fires during account initialization, and on each incoming/outgoing transaction
     AccountBalance = e.AccountBalance;
 }
 private static void AccountBalanceUpdated(object sender, AccountBalanceChangedEventArgs e)
 {
     WriteLine($"Account balance change event handled. New balance is: {e.NewBalance}");
 }
Beispiel #4
0
 static void OnAccountManagerRpcBalanceChanged(object sender, AccountBalanceChangedEventArgs e)
 {
     Application.Instance.AsyncInvoke(() => {
         Utilities.BindingsToAccountBalance.Update();
         SendCoinsView.ViewModel.BalanceSpendable = e.AccountBalance.Spendable;
     });
 }