title: c# webbrowser get its url from text box
body: <p>Ok i am trying to make my webbrowser(webbrowser1) get a url that is read from a textbox (textbox1 ) so the user can pick where the web browser connects from </p>
  
  <p>i have tried:</p>
  
  <pre><code>private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
          {
  
               webBrowser1.Url = textBox1.Text();
          }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
          {
  
               webBrowser1.Url = textBox1.Text;
          }
  </code></pre>
  
  <p>and some outer methods but i can not seem to get it to do it is it possible to do this for  a web browser ?</p>
  
  <p>(i mean a form web browser in the project not Firefox, chrome and so on ... )</p>