The following article describes a method to create a WPF project that provides a progress bar on a thread separate to your worker thread. The worker thread will be completing a task that will take 5 seconds, therefore you do not want your app to become unresponsive.

The code makes use of WPF windows, C# events, C# delegates. It would be useful if you are familiar with these types but it is not essential as I will explain what is needed.

In order to keep this tutorial as simple as possible, I will not make use of any WPF functionality to improve the appearance of the windows.

 

Read More from: Original Source