Form Refreshes

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have a WinForms application that displays a dialog. A button on this
dialog causes a routine to execute that can take upto 10 minutes to run.
This routine raises events to inform the dialog of it's progress. The Dialog
updates the statusbar and a progress bar with the status it receives.

My problem is if the dialog is covered in any way by another window it
doesn't redraw itself. Is there a way to fix this problem? Is there an
event I can catch that will let me know that the Dialog needs to be refreshed?

--
Thanks,

Steven Perry
.


Quantcast