Show form that showDialog from mainForm won't block it, but closing mainForm will close it
Posted
by meme
on Stack Overflow
See other posts from Stack Overflow
or by meme
Published on 2010-04-13T20:20:11Z
Indexed on
2010/04/13
20:23 UTC
Read the original article
Hit count: 723
how yo show a form which needs to run synchronously. I tried running application.run from a queueworker of a threadpool- but I had some invalid handles sometime. tried using a regular thread but then when main form closes it doesn't close this- and I don't really like the idea of killing the thread on_formclosing. if I use form.show it's fine besides that fact that any showdialog from the main form will block also this. What's the best way to handle this?
© Stack Overflow or respective owner