Beispiel #1
0
 /// <summary>
 ///     Prints a line of text to the textbox.
 /// </summary>
 /// <param name="outputStr">The string to print.</param>
 /// <remarks>
 ///     Must use Invoke so that UI is not being called directly from this thread.
 /// </remarks>
 private void OutputLine(string outputStr)
 {
     _appForm.Invoke(_appForm.OutputMethodInstance, outputStr + Environment.NewLine);
 }
Beispiel #2
0
 /// <summary>
 /// Prints a line of text to the textbox.
 /// </summary>
 /// <param name="outputStr">The string to print.</param>
 /// <remarks>
 /// Must use Invoke so that UI is not being called directly from this thread.
 /// </remarks>
 private void OutputLine(string outputStr)
 {
     appForm.Invoke(appForm.outputMethodInstance,
                    new Object[] { outputStr + Environment.NewLine });
 }