Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            String privKey;

            Wallet.Wallet myNewWallet = new Wallet.Wallet(out privKey);
            publicKey.Text  = myNewWallet.publicID;
            privateKey.Text = privKey;
        }
        private void GenWallet_Click(object sender, EventArgs e)
        {
            String privKey;

            Wallet.Wallet mynewWallet = new Wallet.Wallet(out privKey);
            textBox2.Text = mynewWallet.publicID;
            textBox3.Text = privKey;
        }
Exemple #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            // Add wallet button function

            String privKey;

            Wallet.Wallet myNewWallet = new Wallet.Wallet(out privKey); // generate wallet
            String        publicKey   = myNewWallet.publicID;           // set local pubkey variable to show

            textBox3.Text = privKey;                                    // add pubkey and privkey to interface text boxes
            textBox2.Text = publicKey;
        }