-
Refresh ProgressBar
Hi, I'm trying to experiment alittle with C#, I'm new to it.
I'd like to know how to refresh a progress bar so the "ugly blue boxes" arn't still hanging around after a file has loaded. Is there a way to refresh the progress bar?
Something like -> progressBar1.Refresh();
Thanks
-
What do you mean by "hanging around" ? You can clear the ProgressBar by setting the Value to MinValue.
If you need to refresh it because it doesn't redraw itself properly, you can use Invalidate and Update.
-
Yes I meant "Refresh" or redraw the control. Thank you for the reply. I figured it out.
Thanks