title: getting textbox value from another form
body: <p>I have an <code>TextBox</code> named <code>pass</code> in <code>Form1</code> that I need to get the value of in <code>form2</code>. I tried this:</p>
  
  <pre><code>public partial class Form1 : Form {
      public string GetPass() {
          return pass.Text; 
      }
  }
  
  public partial class form2 : Form {
      //... 
      MessageBox.Show(new Form1().GetPass());
  }
  </code></pre>
  
  <p>The above code returns an empty string, why?</p>