title: Adding an event handler for a control in child form from parent form in C#
body: <p>I have two forms. One is a parent form with a button and a text box. On click of the button, a dialog opens the child form which in turn has a textbox and a button. Now what I want is whenever the text in the child form textbox changes the text in the parent form textbox changes automatically. To acquire this, what I did is:</p>
  
  <pre><code>Form3 f3 = new Form3();
  f3.delBetInpTxt.TextChanged +=new EventHandler(delBetInpTxt_TextChanged);
  public void delBetInpTxt_TextChanged(object sender, EventArgs e)
      {
          TextBox t = (TextBox)sender;
          simDelTxt.Text = t.Text + " ms";
      }
  </code></pre>
  
  <p>I added the above code in the parent form and the child form is Form3. But nothing happens, the parent form textbox still doesn't change even after changing the text in the child form. What am I doing wrong here?</p>