Esempio n. 1
0
 private void AddOut(string s)
 {
     if (Output.InvokeRequired)
     {
         AddOutputTextDelegate GTD = new AddOutputTextDelegate(AddOutText);
         Output.Invoke(GTD, (object)s);
     }
     else
     {
         AddOutText(s);
     }
 }
Esempio n. 2
0
 private void AddOut(string s)
 {
     if (Output.InvokeRequired)
     {
         AddOutputTextDelegate GTD = new AddOutputTextDelegate(AddOutText);
         Output.Invoke(GTD, (object)s);
     }
     else
     {
         Output.Text += "<<" + s + "\n";
         Output.Refresh();
     }
 }