内结束文本框的我已经尝试了所有的答案在堆栈溢出建议让我的滚动文字正在更新移至底部,但我有一种感觉,它不工作,因为它是一个线程中。我的代码如下...TextBox滚动条。滚动到主题
foreach(HtmlAgilityPack.HtmlNode paginationUser in paginationUsers) {
String userUrl = paginationUser.GetAttributeValue("id","");
this.Invoke((MethodInvoker)delegate {
txtLog.AppendText("...... Added " + userUrl + Environment.NewLine);
txtLog.Select(txtLog.Text.Length, 0);
txtLog.ScrollToCaret();
});
}
这是导致代码不工作的线程吗?什么是更好的解决方案?
什么是SA?我们需要更多细节。 –
对不起,SA代表堆栈溢出;) –
你指的是什么答案? –