C# Windows form window freezes when program is executing

J

Joe Bloggs

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. Also the Minimize window does not
work when the program is executing. Any ideas on how I can implement
this or a good resource on where I can find information would be much
appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top