I have a form with a progress bar and a label. The form launches a class
that raises an event to indicate the progress. The event arguments contains
integers to update the progress bar and a string to update the label. The
event handler modifies the two controls with values from the arguments.
But... the progress bar updates fine but the label does not. The label
control will update but not the event has been handled several times. I put
a message box inside the event handler to assure that both controls were
being processed, they both do update as I would expect.
I tried using a TextBox instead of a Label with no difference. I tried an
'invalidate' on the form, no difference. I compiled with VS 2003 and VS
2005, same behavior.
What am I missing here?