title: Click Event Not Firing - Cannot Change Focus - Cannot Close Form
body: <p>I have a Windows Forms Application. I have several forms in this application (a main form, and several specialized forms), and on only one form, click events are not firing for any of my buttons.</p>
  
  <p>It is not that the code in the handler is broken. This can be determined by the fact that a breakpoint on the first line of the handler is never reached when clicking the button.</p>
  
  <p>Other events are working (I'm using <code>CheckedChanged</code> events on this form and they are behaving).</p>
  
  <p>My team members have reviewed, and also can't spot the problem.</p>
  
  <p>Here is a simplified view of my code:</p>
  
  <p><strong>Designer Generated Code</strong></p>
  
  <pre><code>partial class MyForm
  {
      private System.Windows.Forms.Button addButton;
  
      private void InitalizeComponent()
      {
          this.addButton = new System.Windows.Forms.Button();
          this.addButton.Name = "addButton";
          // Drawing statements here
          this.addButton.Click += new System.EventHandler(this.addButton_Click);
  
          this.Controls.Add(this.addButton);
      }
  }
  </code></pre>
  
  <p><strong>My Code</strong></p>
  
  <pre><code>public partial class MyForm : Form
  {
      public MyForm()
      {
          InitializeComponent();
      }
  
      private void addButton_Click(object sender, EventArgs e)
      {
          MessageBox.Show("The debugger is not reaching a break point on this line");
      }
  }
  </code></pre>
  
  <p><strong>Edit: Additional Information from Testing</strong></p>
  
  <p>There are several data-bound dropdownlists in my form. I have discovered that the click event only fails to fire if I make a selection in a drop down box first.</p>
  
  <p>If I make no selections, the break point in the button's handler fires. Otherwise it doesn't. There are no events registered on these drop down lists.</p>