开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜