title: Disabling all controls until the thread finishes executing
body: <p>Once i launch a win forms application, i create a background worker to do some initialization. While this initialization happens, i want all the buttons in the form to stay disabled. </p>
  
  <p>I was thinking whats the best way to do this. One straightforward approach i could think of is setting a flag in the thread's completed event. Is there any other better approach?</p>