title: How end edit of a cell, changing its content when it's clicked?
body: <p>I have changed a <code>DataGridViewCheckBoxCell</code> to contain a string at the right of the CheckBox that reflects the CheckBox value. When it's <code>true</code>, the string is "Value1"; when it's <code>false</code> the string should change to "Value2".</p>
  
  <p>The string value is changing only after the <code>DataGridViewCheckBoxCell</code> loses focus. I want the string value to change right after the CheckBox value changes. How can I do that?</p>
  
  <p>For reference, this is my personalized <code>DataGridViewCheckBoxCell</code> class:</p>
  
  <pre><code>public class MyDGVCheckBoxCell : DataGridViewCheckBoxCell
  {
      public static string TRUE_VALUE = "Excitada";
      public static string FALSE_VALUE = "Monitorada";
  
      public MyDGVCheckBoxCell(bool isExcitada)
      {
          FalseValue = FALSE_VALUE;
          TrueValue = TRUE_VALUE;
          Value = isExcitada ? TRUE_VALUE : FALSE_VALUE;
      }
  
      protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
      {
          base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, value, formattedValue, errorText, cellStyle, advancedBorderStyle, paintParts);
  
          Rectangle contentBounds = this.GetContentBounds(rowIndex);
  
          Point stringLocation = new Point();
  
          stringLocation.Y = cellBounds.Y + 4;
          stringLocation.X = cellBounds.X + contentBounds.Right + 1;
  
          graphics.DrawString(this.Value.ToString(), Control.DefaultFont, System.Drawing.Brushes.Black, stringLocation);
      }
  }
  </code></pre>