title: How to have focus only on loading form while an event is occurring
body: <p>i would like to know how can i get focus on my loading form when an event is fired. As soon as when i press the button <strong>my loading screen pops up and after couple of seconds it loosing focus</strong>.. which mean, i am able to click my main form, especially all my columns cells and stuffs How can i get rid of this??</p>
  
  <p>Codes:</p>
  
  <pre><code>private void button3_Click(object sender, EventArgs e)
      {
          bool done = false;
          //thread pool should be used under  a seperate manager so that UI dont get affected 
          ThreadPool.QueueUserWorkItem((x) =&gt;
          {
              using (var splashForm = new Form4())
              {
                  splashForm.Show();
                  while (!done)
                      Application.DoEvents();
                  splashForm.Close();
              }
          });
          move(); // move files
          Datagrid_bind();
          done = true;
  
      }
  </code></pre>