M
Miro
I have a backgroundworker thread, and on progress changed I send the % done
to the progess changed event.
I have a progress bar on the form with a maximum value of 100 and a minimum
value of 0
As the percentage gets updated the progress bar updates properly...
the progress bar paints to about 75% and then the worker is done 'working',
the progressbar.value = 100 but the display still shows it at about 75%
When the backgroundworker complete fires, i hide the progress bar. So the
user only sees it hit about 75% and then poof everything is done.
I understand the refresh on the progress bar may be too slow .
Is there any way to 'slow down and wait' within the background worker
complete to wait for it to refresh and paint to 100 before it continues and
hides it?
I have tried to put a sleep and a progressbar1.refresh on the completed
event and its just not fast enough.
This is not a big issue - i just wanted to make the user see pretty things.
Miro
to the progess changed event.
I have a progress bar on the form with a maximum value of 100 and a minimum
value of 0
As the percentage gets updated the progress bar updates properly...
the progress bar paints to about 75% and then the worker is done 'working',
the progressbar.value = 100 but the display still shows it at about 75%
When the backgroundworker complete fires, i hide the progress bar. So the
user only sees it hit about 75% and then poof everything is done.
I understand the refresh on the progress bar may be too slow .
Is there any way to 'slow down and wait' within the background worker
complete to wait for it to refresh and paint to 100 before it continues and
hides it?
I have tried to put a sleep and a progressbar1.refresh on the completed
event and its just not fast enough.
This is not a big issue - i just wanted to make the user see pretty things.
Miro