Exemplo n.º 1
0
        private void 查看私钥VToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Contract contract = (Contract)listView1.SelectedItems[0].Tag;
            Account  account  = Program.CurrentWallet.GetAccountByScriptHash(contract.ScriptHash);

            using (ViewPrivateKeyDialog dialog = new ViewPrivateKeyDialog(account, contract.ScriptHash))
            {
                dialog.ShowDialog();
            }
        }
Exemplo n.º 2
0
 private void 查看私钥VToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Contract contract = (Contract)ContractListView.SelectedItems[0].Tag;
     Account account = Program.CurrentWallet.GetAccountByScriptHash(contract.ScriptHash);
     using (ViewPrivateKeyDialog dialog = new ViewPrivateKeyDialog(account, contract.ScriptHash))
     {
         dialog.ShowDialog();
     }
 }