title: Show "please wait" message box
body: <p>I want to show a 'please wait' message box while my main form is doing a lengthy task. As for my case, the lengthy task is transmitting serial protocol. Below is my code:</p>
  
  <pre><code>public void transmitprotocol()
  {    
      try
      {
           MessageBox.Show("Please wait. Uploading logo.", "Status");
  
           // Transmitting protocol coding here. Takes around 2 minutes to finish.
  
      }
      catch (Exception ex)
      {
          Debug.WriteLine(ex.ToString());
      }
  }
  </code></pre>
  
  <p>I've tried the above method using MessageBox like the above coding, but I always have to close the MessageBox only it will start transmitting protocol. 
  Is there any method I can do to still show the 'please wait' MessageBox while it transmit protocol? </p>