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