Пример #1
0
 private void 转账TToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (TransferDialog dialog = new TransferDialog())
     {
         if (dialog.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         Helper.SignAndShowInformation(dialog.GetTransaction());
     }
 }
Пример #2
0
 private async void 转账TToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (TransferDialog dialog = new TransferDialog())
     {
         if (dialog.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         Transaction tx = dialog.GetTransaction();
         if (tx == null)
         {
             return;
         }
         SignatureContext context = new SignatureContext(tx);
         Program.CurrentWallet.Sign(context);
         await ShowInformationAsync(context);
     }
 }
Пример #3
0
 private async void 转账TToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (TransferDialog dialog = new TransferDialog())
     {
         if (dialog.ShowDialog() != DialogResult.OK) return;
         Transaction tx = dialog.GetTransaction();
         if (tx == null) return;
         SignatureContext context = new SignatureContext(tx);
         Program.CurrentWallet.Sign(context);
         await ShowInformationAsync(context);
     }
 }