DroidExplorer.Core.UI.CConsole.ConsoleControl.processInterace_OnProcessError C# (CSharp) Method

processInterace_OnProcessError() private method

Handles the OnProcessError event of the processInterace control.
private processInterace_OnProcessError ( object sender, ProcessEventArgs args ) : void
sender object The source of the event.
args DroidExplorer.Core.UI.CConsole.Api.ProcessEventArgs The instance containing the event data.
return void
        void processInterace_OnProcessError(object sender, ProcessEventArgs args)
        {
            //  Write the output, in red
            WriteOutput(args.Content, ErrorColor);

            //  Fire the output event.
            FireConsoleOutputEvent(args.Content);
        }