110,533
社区成员
发帖
与我相关
我的任务
分享
outputScreen.ScrollToCaret();
outputScreen.Focus();
outputScreen.SelectionStart = outputScreen.Text.Length;
private void tb_Import_TextChanged(object sender, EventArgs e)
{
ChanageTextBox(this.tb_Import);
}
private void ChanageTextBox(TextBox tb)
{
tb.SelectionStart = tb.Text.Length;
tb.SelectionLength = 0;
tb.ScrollToCaret();
}