private void 查看私钥VToolStripMenuItem_Click(object sender, EventArgs e) { bool p2sh; WalletEntry entry = wallet.FindEntry(Wallet.ToScriptHash(listView1.SelectedItems[0].Text, out p2sh)); using (ViewPrivateKeyDialog dialog = new ViewPrivateKeyDialog(entry)) { dialog.ShowDialog(); } }