//该事件让TextBox控件的滚动条始终保持在最下方
private void TextBox_TextChanged(object sender, EventArgs e)
{
this.TextBox.SelectionStart = this.TextBox.Text.Length;
this.TextBox.SelectionLength = 0;
this.TextBox.ScrollToCaret();
}