0
I have an application in C# Winforms that when you click on a button, you should start copying several folders and their respective contents.
As this process is time consuming, I would like the user to know how the process is going through a ProgressBar
.
I have already found some examples on the internet that exemplify a time-consuming process using a repetition of Thread.Sleep(10)
, but I can’t apply this kind of example to my project.
What is the best way to do it? Take the number of folders and implement the ProgressBar
as folders are being copied?
How to do this?
Thank you very much @Heverson! Helped me a lot :)
– Cristian Quadros
Accept the reply @Cristianquadros
– Denis
Falou @Cristianquadros!
– Heverson Ribeiro Resende