void processInterace_OnProcessExit(object sender, ProcessEventArgs args) { if (ShowDiagnostics) { WriteOutput(Environment.NewLine + processInterface.ProcessFileName + " exited.", DiagnosticsColor); } if (!this.IsHandleCreated) { return; } Invoke((Action)(() => { richTextBoxConsole.ReadOnly = true; })); }
void processInterace_OnProcessInput(object sender, ProcessEventArgs args) { throw new NotImplementedException(); }
void processInterace_OnProcessError(object sender, ProcessEventArgs args) { WriteOutput(args.Content, ErrorColor); FireConsoleOutputEvent(args.Content); }