Пример #1
0
 private void MenuItemDelete_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         fnChangeResult change = (fnChangeResult)dgChange.SelectedItem;
         if (tcBitcoin.DeleteReceiptKey(change.PaymentAddress))
         {
             Refresh();
             OnBalance?.Invoke(this, new EventArgs());
         }
     }
     catch (Exception err)
     {
         MessageBox.Show($"{err.Message}", $"{err.Source}.{err.TargetSite.Name}", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }