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

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

c# - Add item to Generic List / Collection using reflection -