/// <summary>
 ///     Handles the OnProcessInput event of the processInterace control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="args">The <see cref="ProcessEventArgs" /> instance containing the event data.</param>
 private void processInterace_OnProcessInput(object sender, ProcessEventArgs args)
 {
     throw new NotImplementedException();
 }
        /// <summary>
        ///     Handles the OnProcessOutput event of the processInterace control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="args">The <see cref="ProcessEventArgs" /> instance containing the event data.</param>
        private void processInterace_OnProcessOutput(object sender, ProcessEventArgs args)
        {
            //  Write the output, in white
            WriteOutput(args.Content, Color.White);

            //  Fire the output event.
            FireConsoleOutputEvent(args.Content);
        }
        /// <summary>
        ///     Handles the OnProcessExit event of the processInterace control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="args">The <see cref="ProcessEventArgs" /> instance containing the event data.</param>
        private void processInterace_OnProcessExit(object sender, ProcessEventArgs args)
        {
            //  Are we showing diagnostics?
            if (ShowDiagnostics)
            {
                WriteOutput(Environment.NewLine + _processInteface.ProcessFileName + " exited.",
                    Color.FromArgb(255, 0, 255, 0));
            }

            if (!IsHandleCreated)
                return;
            //  Read only again.
            Invoke((Action) (() => { InternalRichTextBox.ReadOnly = true; }));
        }