title: User control in windows forms application
body: <p>I have a simple user control with a text box and label in it. I created public properties to access the text in the textbox when I use the user control in another form.</p>
  
  <p>My problem is the property is returning null value when I call it in the form. Am i missing anything? </p>
  
  <p>My property is as follows::</p>
  
  <pre><code> public partial class UserControl1 : UserControl
   {
          public UserControl1()
          {
              InitializeComponent();
          }
  
          public string rtnTxtMake
          {  
              get 
              { 
                  return txtMake.Text; 
              }
              set 
              { 
                  txtMake.Text = value; 
              } 
          }
   }
  </code></pre>
  
  <p>and in the next forms button click event i call the property as follows</p>
  
  <pre><code>        UserControl1 Usc = new UserControl1();
          string Make = Usc.rtnTxtMake;
  
          MessageBox.Show(Make)
  </code></pre>