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); } }