title: How to prevent a Not Responding message on a window's title bar?
body: <p>I use VS2010 and C# to build a desktop application.  This application has one form with a huge task which takes a lot of time to complete. When this form is initialized it works perfectly, except it shows <strong>“Not Responding”</strong>  on the title bar, like the picture shows:</p>
  
  <p><img src="https://i.stack.imgur.com/WVtAm.png" alt="enter image description here"></p>
  
  <p>After completing all tasks, it shows the desired output.  Why is this message shown, and how do I prevent it?</p>