Non-UI-blocking Progress Bar in Winforms

There’s a few methods to ensure that you can present an update to your users regarding progress of any iterative process. Here’s the easiest I’ve found…

I’ve messed around with BackGround workers and Await Async. The problem with the latter is that there are lots of complications around cross-thread calls. Regarding the latter, I got a bit lost in the finer details! Here’s the simplest way I found to achieve the above:

 

About stigzler 48 Articles
Chief crook and wattle bosher.

Be the first to comment

Leave a Reply

Your email address will not be published.


*