Exemplo n.º 1
0
 private void AppendOutput(string message, Color textColor)
 {
     TerminalOutput.SelectionStart = TerminalOutput.Text.Length;
     TerminalOutput.SelectionColor = textColor;
     TerminalOutput.AppendText(message);
     TerminalOutput.ScrollToCaret();
 }
Exemplo n.º 2
0
 public void AppendCommandLineToTerminalOutputResponse(string commandLine)
 {
     TerminalOutput.SelectionStart  = TerminalOutput.TextLength;
     TerminalOutput.SelectionLength = 0;
     commandLine = "# " + commandLine + "\n";
     TerminalOutput.SelectionColor = Color.Blue;
     TerminalOutput.AppendText(commandLine);
     TerminalOutput.SelectionColor = TerminalOutput.ForeColor;
     //this.TerminalOutput.Text = this.TerminalOutput.Text + "#" + commandLine+ "\n";
 }
Exemplo n.º 3
0
 public void AppendCommandLineToTerminalOutput(string commandLine)
 {
     // this.TerminalOutput.Text = this.TerminalOutput.Text + ">" + commandLine + "\n"; ;
     TerminalOutput.SelectionStart  = TerminalOutput.TextLength;
     TerminalOutput.SelectionLength = 0;
     commandLine = "> " + commandLine + "\n";
     TerminalOutput.SelectionColor = Color.Red;
     TerminalOutput.AppendText(commandLine);
     TerminalOutput.SelectionColor = TerminalOutput.ForeColor;
     //String tekst = ">" + commandLine + "\n";
     //this.TerminalOutput.ForeColor = Color.Red;
 }