public ServerInteractive()
 {
     InitializeComponent();
     ConsoleWriter = Console.Out;	// Save the current console TextWriter.
     RedirConsole = new StringRedir(ref this.richTextBox1);
     Console.SetOut(RedirConsole);	// Set console output to the StringRedir clas
 }
Esempio n. 2
0
 public ServerInteractive()
 {
     InitializeComponent();
     ConsoleWriter = Console.Out;        // Save the current console TextWriter.
     RedirConsole  = new StringRedir(ref this.richTextBox1);
     Console.SetOut(RedirConsole);       // Set console output to the StringRedir clas
 }