I have a simple example of a winforms application where i choose a directory in a directory chooser and click a button to loop through the directory and copy each file in the directory into another directory.
i want to do the file copy on a background thread to avoid locking the GUI.
i am looking for the simplest solution to:
- Create the background thread
- Pass the source and destinations in
- Get a callback on progress so i can show a progress bar on the GUI thread