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();
});
原文地址:https://www.cnblogs.com/percent10/p/11809055.html
时间: 2024-10-17 00:03:01