我最近重构了我的WPF代码,现在我的DispatcherTimer停止工作了。= new DispatcherTimer(); m_dispatcherTimer.Interval基本上,我等待一个长时间运行的任务(复制一堆大文件),并且我的DispatcherTimer应该在dispatcherTimer_Tick中更新进度
我开始修改Microsoft的KinectExplorer-WPF解决方案,以便使它对我的目的有用。触发一次。DispatcherTimerdispatcherTimer = new DispatcherTimer(); dispatcherTimer.Tick += new EventHandler(Change_Position); dispatcherTimer.Interval = new TimeSpan(0, 0, 0); dispatche