Exemplo n.º 1
0
 private void SetText_eth_price_lbl(string text)
 {
     if (this.eth_price_lbl.InvokeRequired)
     {
         StringArgReturnVoidDelegate d = new StringArgReturnVoidDelegate(SetText_eth_price_lbl);
         this.Invoke(d, new object[] { text });
     }
     else
         eth_price_lbl.Text = text;
 }
Exemplo n.º 2
0
 private void SetConsoleOutputText(string text)
 {
     if (this.consoleOutputTextBox.InvokeRequired)
     {
         StringArgReturnVoidDelegate d = SetConsoleOutputText;
         this.Invoke(d, text);
     }
     else
     {
         consoleOutputTextBox.Text += text + "\r\n";
     }
 }
Exemplo n.º 3
0
 private void SetText_hashrate_nhr_lbl(string text)
 {
     if (this.hashrate_nhr_lbl.InvokeRequired)
     {
         StringArgReturnVoidDelegate d = new StringArgReturnVoidDelegate(SetText_hashrate_nhr_lbl);
         this.Invoke(d, new object[] { text });
     }
     else
     {
         hashrate_nhr_lbl.Text = text;
     }
 }