public SendingCoin(String labelText, Types.TransactionType type = Types.TransactionType.SEND_COIN) { InitializeComponent(); sendBgr.WorkerSupportsCancellation = true; sendBgr.DoWork += new DoWorkEventHandler(this.sendBgr_DoWork); sendBgr.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.sendBgr_RunWorkerCompleted); this.labelText = labelText; }
public SendingCoin(Dictionary <String, String> data, Types.TransactionType type = Types.TransactionType.SEND_COIN) { InitializeComponent(); sendBgr.WorkerSupportsCancellation = true; sendBgr.DoWork += new DoWorkEventHandler(this.sendBgr_DoWork); sendBgr.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.sendBgr_RunWorkerCompleted); this.data = data; this.type = type; }