title: How to Display value of textbox in label in another form?
body: <p>Hi I'm new to C# and I want to display the value of my textBox1 in form1 to my Label1 in form2. I tried using this:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
          label1.Text = textBox1.Text;
  
          Form2 frm = new Form2();
          frm.Show();
          this.Hide();
      }
  </code></pre>
  
  <p>But it didn't work because it's in another form. Can someone tell me how to do it right?</p>