title: why I can't get txtBox2.Text and txtBox3.Text value?
body: <pre><code>public partial class UserControl1 : UserControl,IRequireGraphicInterface
  {  
      private void button1_Click(object sender, RoutedEventArgs e)
      {
        // int i;
          Opcconnect OC = new Opcconnect();
          OC.DataRead();
          txtBox4.Text = "zjy";
      }
  }
  
  public partial class Opcconnect : OPCServerClass
  {
  
      public void  DataRead()
      {        
          UserControl1 TxtgetData = new UserControl1();
          try
          {
              TxtgetData.txtBox2.Text = "SJZ";
              TxtgetData.txtBox3.Text ="TEST"
  
          }
          catch (Exception e)
          {
              MessageBox.Show(e.ToString());
          }
      }
  
  
  }
  </code></pre>
  
  <p>//I'm beginner, I have tested my program and show noting. I hope get your help how could I get the txtBox2.Text and txtBox3.Text value. thanks.</p>