C#在子线程中更新窗口部件的写法
摘要:if(textBox1.InvokeRequired){textBox1.Invoke(newMethodInvoker(delegate{...
if (textBox1.InvokeRequired) { textBox1.Invoke(new MethodInvoker(delegate { textBox1.AppendText(sb.ToString()); })); }
【C#在子线程中更新窗口部件的写法】相关文章:
★ C#线程 BeginInvoke和EndInvoke使用方法
★ 使用C# Winform应用程序获取网页源文件的解决方法