title: Thread.Sleep(300) not working correctly
body: <p>I want it to execute the first part of the code, then make the pictureBox visible, pause for 3 seconds, hide the pictureBox and execute the rest of the code:</p>
  
  <pre><code>// first part of the code here
  pb_elvisSherlock.Visible = true;
  Thread.Sleep(300);
  pb_elvisSherlock.Visible = false;
  // rest of the code here
  </code></pre>
  
  <p>But it executes the whole block of code and only then pauses. Any ideas what to do?</p>
  
  <p>Thanks!</p>