Ejemplo n.º 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());
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }