What I want is when some method is doing some task UI keeps itself active and I want to show the progress of the work in a progress-bar.
I have a method, a Bac
I am sorry about the question. Actually the code works fine. It was not showing the Progressbar
as the argument in myBGWorker.ReportProgress()
was fraction and not percentage. So, it was not showing it. Sorry for the inconvenience.
Moderator may delete this thread. Otherwise it can be a tutorial for others.