Ejemplo n.º 1
0
 public TransactionInformation(TransactionInfo transactionInfo, Currencies currency)
 {
     _moneyTransferBl = new MoneyTransferBl(new Wallet(), new TransactionClient());
     _currency        = currency;
     InitializeComponent();
     FillTransactionInformation(transactionInfo);
 }
Ejemplo n.º 2
0
        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;
            }
        }