摘要: View Code this.button1.Content = "正在计算"; Action action = new Action(() => { System.Threading.Thread.Sleep(3000); this.Dispatcher.BeginInvoke(new Action(() => { this.button1.Content = "计算完毕"; }), System.Windows.Threading.DispatcherPriority.SystemIdle, null); }); action.Begin 阅读全文
posted @ 2011-04-07 16:48 暗月随风 阅读(2621) 评论(0) 推荐(0) 编辑