G
Guest
I try to save a DB table and it takes few minutes. So I decide to add a popup
progress window. When it’s done the saving work, program code will close the
window.
I created a progress window form with a timer and a ProgressBar control, and
it looks OK. The problem is to open and show the progress window in main UI
thread. I use form’s “ShowDialog†method, but the progress window blocks the
main thread execution until I dismiss the dialog. If I use “Show†to open the
progress window modeless, the progress window is not updated by timer.
The popup progress window is used very popular. Is there an easy way to open
a popup window? Where can I find a sample?
Thanks.
Shaw
progress window. When it’s done the saving work, program code will close the
window.
I created a progress window form with a timer and a ProgressBar control, and
it looks OK. The problem is to open and show the progress window in main UI
thread. I use form’s “ShowDialog†method, but the progress window blocks the
main thread execution until I dismiss the dialog. If I use “Show†to open the
progress window modeless, the progress window is not updated by timer.
The popup progress window is used very popular. Is there an easy way to open
a popup window? Where can I find a sample?
Thanks.
Shaw