title: webBrowser.Navigate synchronously
body: <p>i want to call webBrowser.Navigate(string urlString) synchronously where webBrowser is windows forms control. I do this in such way</p>
  
  <pre><code>...
  private delegate void NavigateDelegate(string s);
  ...
  private void Function()
  {
      NavigateDelegate navigateDelegate = 
          new NavigateDelegate(this.webBrowser1.Navigate);
      IAsyncResult asyncResult = 
          navigateDelegate.BeginInvoke("http://google.com", null, null);
  
      while (!asyncResult.IsCompleted)
      {
          Thread.Sleep(10);
      }
  
      MessageBox.Show("Operation has completed !");
  }
  </code></pre>
  
  <p>but message is never shoved. WHY this code doesn't work properly?</p>