标签:ext substring scroll scrollto 跨线程 app method ndt invoke
txtBxMsg.BeginInvoke((MethodInvoker)delegate
{
if (txtBxMsg.Text.Length > 10000)
txtBxMsg.Text = txtBxMsg.Text.Substring(txtBxMsg.Text.Length - 10000);
txtBxMsg.AppendText( "\r\n" + AMsg);
txtBxMsg.ScrollToCaret();
});
标签:ext substring scroll scrollto 跨线程 app method ndt invoke
原文地址:https://www.cnblogs.com/percent10/p/11809055.html