public TransactionInformation(TransactionInfo transactionInfo, Currencies currency) { _moneyTransferBl = new MoneyTransferBl(new Wallet(), new TransactionClient()); _currency = currency; InitializeComponent(); FillTransactionInformation(transactionInfo); }
public MainWindow() { _moneyTransferBl = new MoneyTransferBl(new Wallet(), new TransactionClient()); InitializeComponent(); WalletDto wallet = FileHelper.LoadWalletFromJson(); if (wallet != null) { textBoxBitcoinAdress.Text = wallet.BitcoinAdress; textBoxPublicKey.Text = wallet.PublicKey; textBoxScriptPubKey.Text = wallet.ScriptPubKey; } }