SmartDispatcher 类

UI线程中使用public class SmartDispatcher{ public static void BeginInvoke(Action action) { if (Deployment.Current.Dispatcher.CheckAccess() || DesignerProperties.IsInDesignTool) { action(); } else { Deployment.Current.Dispatcher.Beg...
posted @ 2013-12-05 11:22  十一_x  阅读(358)  评论(0编辑  收藏  举报