title: DataGridView's bound table only generates one RowChanged event on a double-click. How do I make it do two?
body: <p>I have a DataGridView whose DataSource is a DataTable.
  This DataTable has a boolean column, which is interpreted as a checkbox in the DataGridView.</p>
  
  <pre><code>employeeSelectionTable.Columns.Add("IsSelected", typeof(bool));
  ...
  employeeSelectionTable.RowChanged += selectionTableRowChanged;
  dataGridViewSelectedEmployees.DataSource = employeeSelectionTable;
  
  ...
  
  private void selectionTableRowChanged(object sender, DataRowChangeEventArgs e)
  {
      if ((bool)e.Row["IsSelected"])
      {
          Console.Writeline("Is Selected");
      }
      else
      {
          Console.Writeline("Is Not Selected");
      }
      break;
  }
  </code></pre>
  
  <p>When the user single-clicks on a checkbox, it gets checked, and selectionTableRowChanged will output "Is Selected."</p>
  
  <p>Similarly, when the user checks it again, the box gets cleared, and selectionTableRowChanged outputs "Is Not Selected."</p>
  
  <p>Here's where I have the problem:</p>
  
  <p>When the user double-clicks on the checkbox, the checkbox gets checked, the RowChanged event gets called ("Is Selected"), and then the checkbox is cleared, and no corresponding RowChanged event gets called.  Now the subscriber to the the RowChanged event is out of sync.</p>
  
  <p>My solution right now is to subclass DataGridView and override WndProc to eat WM_LBUTTONDBLCLICK, so any double-clicking on the control is ignored.
  Is there a better solution?</p>