title: Textbox Object Reference
body: <p>How can I reference a <code>TextBox</code> object(say textBox1) in another custom class in form1.cs file? </p>
  
  <p>In <code>myclass</code>, I've written <code>textBox1</code>, but intelliSense didn't suggest it to me. Changing private to public doesn't solve it. </p>
  
  <p>Here is the sample code of form1.cs</p>
  
  <pre><code>namespace Calculator {
      public partial class Form1: Form {
          public Form1() {
              // InitializeComponent(); 
          }
  
          class myclass {
              // What can I do to make texbox1 show up in intelliSense here? 
              // textBox1
          }
  
          public System.Windows.Forms.TextBox textBox1;
      }
  }
  </code></pre>