title: DataGridView and the CellEndEdit Event
body: <p>I have a <code>DataGridView</code>, and would like to hook into the <code>CellEndEdit</code> event.  I've been able to successfully hook into the <code>CellContentClick</code> event, but am having issues with <code>CellEndEdit</code>.</p>
  
  <p>I added the following code to my <code>Form1.cs</code> file:</p>
  
  <pre><code>private void dataGridView1_CellEndEdit(object sender, DataGridViewCellCancelEventArgs e)
          {
              dataGridView1[0, 0].Value = "Changed";
          }
  </code></pre>
  
  <p>With that code, nothing happens when I am done editing a cell.  Is there anything else that I need to do to successfully hook into this event?  I see that <em><code>CellContentClick</code></em> has a </p>
  
  <pre><code>this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
  </code></pre>
  
  <p>line of code in the <code>Form1.Designer.cs</code> file, but I tried to mimic this for <code>CellEndEdit</code>, and received a compile error </p>
  
  <blockquote>
    <p>(No overload for 'dataGridView1_CellEndEdit' matches delegate
    'System.Windows.Forms.DataGridViewCellEventHandler')</p>
  </blockquote>