title: Get value of checkbox of Form1 from Form2
body: <p>I've looked around here and on some other sites relating to this, and have found answers. However, either the solution does not work or is just too obscure for me to understand. I'll explain what I mean when I say it "wont work".</p>
  
  <p>There are two ways that I have tried to do this. The first one using <code>get</code> and <code>set</code>, and the second, simply setting the control modifier to true.</p>
  
  <p>When using either of those, it seems like the value in <code>Form1</code>'s designer doesn't update, and so <code>Form2</code> only reads the value as being false, since that is the value of the checkbox by default.</p>
  
  <p>In <code>Form1</code>:</p>
  
  <pre><code>    public bool CheckBox
      {
          get { return this.checkBox1.Checked; }
          //set { this.checkBox1.Checked = value; }
      }
  
      private void button1_Click(object sender, EventArgs e)
      {
          Form2 frm = new Form2();
  
          frm.ShowDialog();
      }
  </code></pre>
  
  <p>In <code>Form2</code>:</p>
  
  <pre><code>    private void button1_Click(object sender, EventArgs e)
      {
          Form1 frm = new Form1();
  
          if (frm.CheckBox == true)
          {
              //Do whatever
          }
      }
  </code></pre>
  
  <p>That's basically all I'm trying to do. If I am doing something wrong, or if there is a better way to do this, please let me know.</p>
  
  <p>Thank you.</p>