private void 新建钱包NToolStripMenuItem_Click(object sender, EventArgs e) { using (CreateWalletDialog dialog = new CreateWalletDialog()) { if (dialog.ShowDialog() != DialogResult.OK) { return; } MyWallet wallet = MyWallet.Create(); wallet.Save(dialog.WalletPath, dialog.Password); wallet_path = dialog.WalletPath; password = dialog.Password; OpenWallet(wallet); } }
private void 新建钱包NToolStripMenuItem_Click(object sender, EventArgs e) { using (CreateWalletDialog dialog = new CreateWalletDialog()) { if (dialog.ShowDialog() != DialogResult.OK) return; MyWallet wallet = MyWallet.Create(); wallet.Save(dialog.WalletPath, dialog.Password); wallet_path = dialog.WalletPath; password = dialog.Password; OpenWallet(wallet); } }