Example #1
0
 public static void OnAutoScaleBTCValuesChange()
 {
     // btc
     DisplayBTCBalance?.Invoke(null, BtcBalance);
     // fiat
     DisplayFiatBalance?.Invoke(null, getFiatFromBtcBalance(BtcBalance));
 }
Example #2
0
 public static void OnBalanceUpdate(double btcBalance)
 {
     BtcBalance = btcBalance;
     // btc
     DisplayBTCBalance?.Invoke(null, BtcBalance);
     // fiat
     DisplayFiatBalance?.Invoke(null, getFiatFromBtcBalance(BtcBalance));
 }