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

WriteOutput() public method

public WriteOutput ( string output ) : void
output string
return void
        public void WriteOutput(string output)
        {
            try {
                if(this.IsDisposed || !this.IsHandleCreated || this._isDisposed) {
                    return;
                }

                Invoke((Action)(() => {
                    if(this.IsDisposed || !this.IsHandleCreated || this._isDisposed) {
                        return;
                    }
                    if(string.IsNullOrEmpty(lastInput) == false &&
                            (output == lastInput || output.Replace("\r\n", "") == lastInput))
                        return;
                    this.OutputProcessor.Process(output);
                    Imports.SendMessage(richTextBoxConsole.Handle, Imports.WmVscroll, Imports.SbBottom, 0x0);
                }));
            } catch(ObjectDisposedException odex) {
                // I don't know why it keeps throwing this but it does.
            }
        }

Same methods

ConsoleControl::WriteOutput ( string output, Color color ) : void