//使滚动条在最下方 private void ErrorInfo_TextChanged(object sender, EventArgs e) { ErrorInfo.SelectionStart = ErrorInfo.TextLength; //将控件内容滚动到当前插入符号位置 ErrorInfo.ScrollToCaret(); }