November 9th, 2013, 06:13 PM
Check which thread the event handler executes in. Is it the same as the main ui thread?
November 9th, 2013, 03:19 PM
Solve the two problems separately. That is, get the popup modal for. Working before putting thst code in an event handler.
Also, respond to my suggestions directly. Tell me if my suggestions have...
November 9th, 2013, 02:38 PM
Simple - rather than having a method contain code that happens before and after the wait, you create an iscometed event handler and put the after the wait code in there.
In general, in the main...
November 9th, 2013, 12:18 PM
Btw, the file attachment download problem at code guru has been fix so you might want to zip up and post a sample solution that repros the issue.
November 9th, 2013, 12:17 PM
It doesn't hang, it spins and uses a lot of cpu so it appears to hang.
In general, you never want to wait for a variable in an empty loop.