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