Reputation: 1
I have a project in c# and I want to view progressbar with another form in thread mode, when working with data. I want to do this:
MyMessageBox.ShowWaiting("Please wait..."); //Do Anything; MyMessageBox.HideWaiting();
MyMessageBox is a form with a progressbar in marque style. Can you help me how to do this?
Upvotes: 0
Views: 123
Reputation: 1038810
You could use the BackgroundWorker class which allows you to execute tasks on background threads and report progress at the same time.
Upvotes: 1