Quantcast
Channel: Using timers and DateTime.Now
Viewing all articles
Browse latest Browse all 12

Using timers and DateTime.Now

$
0
0
Whenever I type in "DispatcherTimer" I get an error.
Do you have a "using System.Windows.Threading;" statement in the .cs file where you are trying to use this?  If not, you have to reference the DispatchTimer in code with the full reference.  Example:
System.Windows.Threading.DispatchTimer sampleDispatchTimer = new 
System.Windows.Threading.DispatchTimer();


Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>