哪里是System.Windows.Threading.DispatcherTimer? [英] Where is System.Windows.Threading.DispatcherTimer?

查看:242
本文介绍了哪里是System.Windows.Threading.DispatcherTimer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

得越来越接近一个长周末....我试图创建一个DispatchTimer。我发现了一些样品code,但不能运行,由于缺少命名空间。

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.

我有空间,Sy​​stem.Windows.Threading程序,但其中装配可以找到它?我试过系统,System.Windows ...虚无缥缈。

I have the namespace, System.Windows.Threading, but in which assembly can I find it? I tried System, System.Windows... nada.

谢谢!

推荐答案

这是System.Windows.Threading程序,但是你需要确保你引用WindowsBase.dll中装配以及。

It is in System.Windows.Threading, but you need to be sure you are referencing the WindowsBase.dll assembly as well.

这篇关于哪里是System.Windows.Threading.DispatcherTimer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆