Where is System.Windows.Threading.DispatcherTimer?
Gotta be getting close to a long weekend.... I'm trying to create a DispatchTimer. I found some sample code but can't run it due to a missing namespace.
I have the namespace, Syste开发者_JAVA百科m.Windows.Threading, but in which assembly can I find it? I tried System, System.Windows... nada.
Thanks!
It is in System.Windows.Threading, but you need to be sure you are referencing the WindowsBase.dll assembly as well.
The msdn docs say it's in WindowsBase.dll . http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer.aspx
精彩评论