General information
Category:
The Mere Mortals .NET Framework
It turns out that the event is raised by a background worker thread, so the code runs in that workspace where it is illegal to do any UI work. The fact that some of the UI work is fine while some causes the hanging is odd, but at least we know the cause now. The officially sactioned work-around is to use BeginInvoke(), but the timer work-around does the job as well. I'll try out BeginInvoke() at some point when there is more time to play with it.
Thanks everyone!
Mike
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only