摘要: 场景:Public Class A{ Thread thd; public A() { thd=new Thread(new ThreadStart(Demo)); thd.IsBackground=true; thd.Start(); } public Staticvoid Demo() { UI _UI=new UI(); _UI.tb.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal,new Action()=>{ _UI.tb.Text="我是描述控件!"; }) 阅读全文
posted @ 2012-11-15 17:51 GeneralKING 阅读(1666) 评论(0) 推荐(1) 编辑