Maybe this is more of a "how do you report progress" topic.
I have a progress bar on a form. The same form launches 2 separate threads. I would like each thread to report to the same progress bar.
Instead of cluttering my code up with a bunch of stuff like
progressBarOverall.value += 10; .
I've used progress bars before for tasks with loops, and they work extremely well, but what about tasks with no loop? or tasks with multiple loops? Or even better...tasks with multiple loops but determining the number of times a loop must occur is a long process itself?
I know how to actually update the values of the progressbar from the threads, I'm just wondering if I have to keep calling stuff like
progressBarOverall.value += 10; over and over again to update it?
Oh yeah...forgot to say I'm not threading with background workers...I'm using
thread.start() and the like.
Edited 6 Years Ago by zachattack05: After thought