title: C# CheckBox Checked Value is incorrect
body: <p>This is driving me nuts. I have a simple CheckBox that, when checked, is suppose to do some extra work when a button is pressed. If the CheckBox is not selected, it does not do the extra work. Simple, you'd think.</p>
  
  <pre><code>private void previewButton_Click(object sender, EventArgs e)
  {
      MessageBox.Show(mfsCheckbox.CheckState.ToString());
      if (mfsCheckbox.CheckState == CheckState.Checked)
      {
          //never gets here
          //do extra stuff
      }
      if (mfsCheckbox.Checked)
      {
          //never gets here
          //do extra stuff
      }
  }
  
  private void mfsCheckbox_CheckedChanged(object sender, EventArgs e)
  {
      MessageBox.Show(mfsCheckbox.CheckState.ToString());
      if (mfsCheckbox.Checked)
      {
          mfsCheckbox.Checked = true;
          mfsCheckbox.CheckState = CheckState.Checked;
      }
  }
  </code></pre>
  
  <p>When running this code, I select the CheckBox and, per the CheckChanged event code, it says "Checked". For good measure, I even set both states in the CheckChanged event to ensure that they are set appropriately. Then, I click the preview button directly after it has just told me the CheckBox was "Checked" and it says "Unchecked" and does not run my if statement...</p>
  
  <p>Basically, it goes from Checked to Unchecked even when I can visually see that it is still checked and after I've programmatically ensured it's state should be "checked".</p>
  
  <p>Thanks for any help.</p>
  
  <p><em><strong>UPDATE: INITIALIZECOMPONENT BEING CALLED IN ANOTHER MODULE BY STRAY CODE. I WILL PUT INTERN RESPONSIBLE ON NIGHTLY SERVER BUILD DUTY FOR LIFE AS PUNISHMENT. VOTING TO CLOSE AS THIS HAS NO VALUE FOR ANYONE ELSE.</em></strong></p>