摘要: public void UIThread(MethodInvoker method){ if (this.InvokeRequired) { this.Invoke(method); } else { method.Invoke(); }}public void UpdateUI(){ this.UIThread(delegate { this.Label1.Text = "msg1"; this.Label2.Text = "msg2"; });}public void Update... 阅读全文
posted @ 2012-09-22 22:52 璇星 阅读(362) 评论(0) 推荐(0) 编辑