How to Refresh a Windows Form in C#
Hi,
I have a Windows form application that has a start button, a progress bar and also writes information to the status bar the code is C#. My problem is that when you hit the start button and the program executes then the application window does not get refreshed so you just see an ugly gray rectangle until the application ends. The status and progress bar do get updated but still if you toggle to another application and then toggle back to the Windows form application the contents of the Windows form is not refreshed. I want to have the Windows form to refresh (or redraw) itself say every second or have an event like a mouse over event refresh the window.
Any ideas on how I can implement this, help much appreciated.
|