Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     using (BulkPayDialog dialog = new BulkPayDialog(Asset))
     {
         if (dialog.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         listBox1.Items.AddRange(dialog.GetOutputs());
         ItemsChanged?.Invoke(this, EventArgs.Empty);
     }
 }
Exemplo n.º 2
0
 private void button3_Click(object sender, EventArgs e)
 {
     using (BulkPayDialog dialog = new BulkPayDialog(Asset))
     {
         if (dialog.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         listBox1.Items.AddRange(dialog.GetOutputs().Select(p => new TxOutListBoxItem
         {
             Output    = p,
             AssetName = dialog.AssetName
         }).ToArray());
         ItemsChanged?.Invoke(this, EventArgs.Empty);
     }
 }