Example #1
0
        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;
            }));
        }
Example #2
0
 void processInterace_OnProcessInput(object sender, ProcessEventArgs args)
 {
     throw new NotImplementedException();
 }
Example #3
0
        void processInterace_OnProcessError(object sender, ProcessEventArgs args)
        {
            WriteOutput(args.Content, ErrorColor);

            FireConsoleOutputEvent(args.Content);
        }