private void WriteLine(string text, Color color) { MainBoard.AppendTextWithColor(richTextBoxConsole, text + Environment.NewLine, color); richTextBoxConsole.SelectionStart = richTextBoxConsole.Text.Length; // scroll it automatically richTextBoxConsole.ScrollToCaret(); }