private void RefreshToPay() { if (tcBitcoin.IsWalletInitialised) { InvoicesControl payments = (InvoicesControl)pageToPay.Content; payments.Refresh(); if (payments.Visibility != Visibility.Visible) { payments.Visibility = Visibility.Visible; } } }
private void RefreshToReceive() { if (tcBitcoin.IsWalletInitialised) { InvoicesControl receipts = (InvoicesControl)pageToReceive.Content; receipts.Refresh(); if (receipts.Visibility != Visibility.Visible) { receipts.Visibility = Visibility.Visible; } } }