简体   繁体   中英

Move file and folder with progress bar in c# window form

Sir i want to move folder and file with progress bar in c# window form. kindly anybody give me helpful material.

在此处移动图像

Basically, you will need to use RunWorkerAsync.

RunWorkerAsync starts an execution of a background operation. ( copy files etc..)

You will need to connect your progressbar with this method.

Check this answer to have a practic example:

Running a method in BackGroundWorker and Showing ProgressBar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM