title: Referencing control on one form from another form
body: <p>As you can guess, I'm kind of new to .NET and just want to reference a control on one form from another.</p>
  
  <p>Usually I would just do Form.Control.Property but that doesn't work and every example I've found through Google doesn't work for me.</p>
  
  <p>It just seems overly complicated with public classes, etc.</p>
  
  <p>Is there a more simpler way to do this?  I'm ready to throw in the towel and just use a global variable at this point.</p>
  
  <p>I have the form containing the control I want to reference, frmGenerate which has a textbox called txtCustomerNo.</p>
  
  <p>From this form through a button's click event I want to show another form, frmCustomers, and have that form reference the value in txtCustomerNo.</p>
  
  <pre><code>frmCustomers.ShowDialog()
  </code></pre>
  
  <p>It has to be something simple that I'm just not grasping.</p>