public FrmMain() { InitializeComponent(); ConIO.Focus(); ConIO.Select(); DisplayText(""); }
private void DisplayText(string text) { if (string.IsNullOrEmpty(text)) { ConIO.InsertText(">>: ", _commandStyle); } else { if (_useTeleType) { foreach (var c in text) { ConIO.InsertText(c.ToString(), _responseStyle); ConIO.Refresh(); } } else { ConIO.InsertText(text, _responseStyle); } ConIO.InsertText(Environment.NewLine + ">>: ", _commandStyle); } }
private void ProcessEmptyCommand() { ConIO.InsertText(""); }
private void JumpToEndOfLine() { ConIO.GoEnd(); }