title: How to carry text values over to a text box on another form?
body: <p>I am attempting to carry the value of a single textbox into another textbox on another form.</p>
  
  <p>In form 1 i have the following code:     </p>
  
  <pre><code>private SecondForm secondForm;
  public void SecondFormTextBox()
  {
      uname.Text = secondForm.uname.Text;
  }
  </code></pre>
  
  <p>In form 2 I have the following code.</p>
  
  <pre><code>public TextBox uname
  {
      get
      {
          return uname;
      }
  }
  </code></pre>
  
  <p>I recieve the following errors, hope you can help!!</p>
  
  <blockquote>
    <p>An object reference is required for
    the non-static field, method, or
    property
    'WindowsFormsApplication1.AdministratorHome.uname.get'    </p>
    
    <p>Ambiguity between
    'WindowsFormsApplication1.AdministratorHome.uname'
    and
    'WindowsFormsApplication1.AdministratorHome.uname'</p>
  </blockquote>