Right, I have a program that backups files from a source folder to a destination folder.
If I want to pop up a window to show a progress bar which code needs to go in the DoWork method within the Background Worker?
Which goes into the background worker:
A) The code to actually copy the files
B) The code that updates the progress bar
C) Both
I would imagine that it is A personally, as that will be done in the background?
Is it right to say that when using a background worker you are using a different "thread"??
So the code within the gui is the "MAIN" thread and the background worker is a secondary thread??
I don't want the actual code, just some guidance so I can figure out as much of it myself as possible.
Loading
DanPosted Nov 28, 2007, 9:54 AM
I've tried searching google but it doesn't seem to provide any helpful info.
I am going to have a go at this again tonight but hopefully somebody on here can give me a more direct answer. Thanks guys.
Dan