Exemple #1
0
 void DisplayInformation(string s)
 {
     if (this.rtbConOut.InvokeRequired)
     {
         DisplayInformationDelegate d = new DisplayInformationDelegate(DisplayInformation);
         this.rtbConOut.Invoke(d, new object[] { s });
     }
     else
     {
         this.rtbConOut.AppendText(s + Environment.NewLine);
     }
 }
 void DisplayInformation(string s)
 {
     if (this.rtbConOut.InvokeRequired)
     {
         DisplayInformationDelegate d = new DisplayInformationDelegate(DisplayInformation);
         this.rtbConOut.Invoke(d, new object[] { s });
     }
     else
     {
         this.rtbConOut.AppendText(s + Environment.NewLine);
     }
 }