windows phone 7 - How to set a timer in wp7 applications? -


how can set timer run code? can't find control named timer.

what steps needed this?

you're looking dispatchertimer class.

dispatchertimer dt = new dispatchertimer(); dt.interval = timespan.fromseconds(10); dt.tick += delegate { ... }; dt.start(); 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -