C#在子线程中更新窗口部件的写法    
    
        发布时间:2016-12-28  来源:查字典编辑
    
    
    摘要:if(textBox1.InvokeRequired){textBox1.Invoke(newMethodInvoker(delegate{...
    if (textBox1.InvokeRequired) { textBox1.Invoke(new MethodInvoker(delegate { textBox1.AppendText(sb.ToString()); })); }