void textBox2_TextChanged(object sender, EventArgs e) { this.textBox2.SelectionStart = this.textBox2.TextLength; this.textBox2.SelectionLength = 0; this.textBox2.ScrollToCaret(); }