title: Update Textbox from another form
body: <p>I develop an Window Application with 2 Forms: <code>Form1</code> and <code>Form2</code>. Both Forms already show on screen. </p>
  
  <p>I have a button in <code>Form2</code> call a funtion in <code>Form1</code> like:</p>
  
  <pre><code>private void btnGetStation_Click(object sender, EventArgs e)
  {
      Program.form.showConnectionStatus();
  }
  </code></pre>
  
  <p><code>showConnectionStatus</code> function in <code>Form1</code> will call to a function in <code>Form2</code> to update information in Textboxes. <code>configElement</code> is an string array with 4 elements:</p>
  
  <pre><code>public void showConnectionStatus()
  {
      Program.form2.updateSMOStatus(configElement[0], configElement[1], configElement[2] + "," + configElement[3]);
  }
  </code></pre>
  
  <p><code>updateSMOStatus</code> in <code>Form2</code> to update Textboxs value in <code>Form2</code>:</p>
  
  <pre><code>public void updateSMOStatus(string line, string group, string stationType)
  {
        txtLineName.Text = line;
        txtGroupName.Text = group;
        txtStationType.Text = stationType;
  }
  </code></pre>
  
  <p>I had debugged and found that all <code>textbox</code> value is changed but they not displayed. My question is why value is not display on <code>Form2</code>? </p>
  
  <p>and my <code>Program</code> class:</p>
  
  <pre><code>static class Program
  {
  
       public static Terminal form;
       public static Form2 form2;
       /// &lt;summary&gt;
       /// The main entry point for the application.
       /// &lt;/summary&gt;
       [STAThread]
       static void Main()
       {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            form = new Terminal();
            form2 = new Form2();
            Application.Run(form);
        }
  }
  </code></pre>