GaiusSensei
GaiusSensei

Reputation: 1890

Fire an event every second

Quick question:

I need an event that fires every second, just like the timer1_timer() event of VB6. I'm using VB9/Silverlight, creating a small sidebar gadget.

Thanks in advance~

Upvotes: 1

Views: 346

Answers (2)

JML
JML

Reputation: 409

A good alternative to the DispatchTimer is the Storyboard timer:

http://blogs.silverlight.net/blogs/msnow/archive/2008/07/09/storyboard-versus-dispatchertimer-for-animation-and-game-loops.aspx

Upvotes: 4

Related Questions