Tuesday, December 31, 2013

Help: Form.show() fails with exception

What type of timer did you use? For windows forms you should use a System.Windows.Forms.Timer For WPF you need to use a DispatcherTimer. Each of these timers ensure the events fire on the UI thread. the system.timers.timer or system.threading.timer use a thread pool thread.

No comments:

Post a Comment