Example #1
0
 public FrmMain()
 {
     InitializeComponent();
     ConIO.Focus();
     ConIO.Select();
     DisplayText("");
 }
Example #2
0
        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);
            }
        }
Example #3
0
 private void ProcessEmptyCommand()
 {
     ConIO.InsertText("");
 }
Example #4
0
 private void JumpToEndOfLine()
 {
     ConIO.GoEnd();
 }