예제 #1
0
 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);
     }
 }
예제 #2
0
 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);
     }
 }