예제 #1
0
        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;
        }
예제 #2
0
        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;
        }