Ejemplo n.º 1
0
 public void SetLogText(string text)
 {
     if (this.txtLog.InvokeRequired)
     {
         SetTextLogCallback d = new SetTextLogCallback(SetLogText);
         this.Invoke(d, new object[] { text });
     }
     else
     {
         this.txtLog.Text = text;
     }
 }
Ejemplo n.º 2
0
 public void appendTextLog(string text)
 {
     if (this.textBoxLog.InvokeRequired)
     {
         SetTextLogCallback d = new SetTextLogCallback(appendTextLog);
         this.Invoke(d, new object[] { text });
     }
     else
     {
         this.textBoxLog.AppendText( text);
     }
 }