title: Getting a value from Another Form using C#
body: <p>How do you get a value from one form in another form?
  I've tried the following but it doesn't work.</p>
  
  <p>Form1:</p>
  
  <pre><code>public TextBox TXT()
  {
  get{return txtbox1;}
  }
  </code></pre>
  
  <p>Form2:</p>
  
  <pre><code>public Form1 frm;
  
  txtbox2.Text=frm.TXT.Text;
  </code></pre>