private void textBox_terminal_TextChanged(object sender, EventArgs e) { if (checkBox_autoScroll.Checked == true) { textBox_terminal.SelectionStart = textBox_terminal.Text.Length; textBox_terminal.ScrollToCaret(); } }