D
Dmitry Shaporenkov
Hi all,
in my application I'm showing a modal dialog indicating
the progress of background process. I would like the
progress indicator to appear not immediately after the
background process starts, but some seconds later. The
purpose is to avoid window winking in case if the process
takes very little time. So, my question is:
how to show a modal but invisible form?
Currently I'm using the Form.Opacity property to achieve
this. After background process starts, I do ShowDialog
with Opacity = 0, and set Opacity = 1 after some time if
the process is still executing. But I wonder about
portability of this approach, and I'd prefer more
reliable way.
Thanks,
Dmitry
in my application I'm showing a modal dialog indicating
the progress of background process. I would like the
progress indicator to appear not immediately after the
background process starts, but some seconds later. The
purpose is to avoid window winking in case if the process
takes very little time. So, my question is:
how to show a modal but invisible form?
Currently I'm using the Form.Opacity property to achieve
this. After background process starts, I do ShowDialog
with Opacity = 0, and set Opacity = 1 after some time if
the process is still executing. But I wonder about
portability of this approach, and I'd prefer more
reliable way.
Thanks,
Dmitry