0

I am gathering all the routed events fired for the MouseRightDownButton and storing them in a Queue. I have the Sender object as well as the RoutedEventArgs.

Now, I need to fire those events one by one and with a little pause. I also want to update the UI as I fire each event.

Do this require the Timer class?

Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
azamsharp
  • 19,710
  • 36
  • 144
  • 222

1 Answers1

1

Yes it will require a timer of some sort. I would check out the DispatcherTimer class if you need to update objects on the UI.

Charlie
  • 15,069
  • 3
  • 64
  • 70
  • Thanks! I was using Timer and it was having problem with UI object update. Dispatcher seems to be working fine! Thanks – azamsharp Jul 14 '09 at 21:36