예제 #1
0
 public void appendDebugOutput(string text)
 {
     if (this.debugOutput.InvokeRequired)
     {
         appendDebugOutputCallback d = new appendDebugOutputCallback(appendDebugOutput);
         this.Invoke(d, new object[] { text });
     }
     else
     {
         this.debugOutput.AppendText(Environment.NewLine + text);
     }
 }
예제 #2
0
 public void appendDebugOutput(string text)
 {
     if (this.debugOutput.InvokeRequired)
     {
         appendDebugOutputCallback d = new appendDebugOutputCallback(appendDebugOutput);
         this.Invoke(d, new object[] { text });
     }
     else
     {
         this.debugOutput.AppendText(Environment.NewLine + text);
     }
 }