protected override void OnLostFocus(EventArgs e)
{
if (!this.FocusedCell.IsEmpty)
{
this.RaiseCellLostFocus(this.FocusedCell);
}
if (this.SelectedIndicies.Length > 0)
{
this.Invalidate(this.CellDataRect);
}
if (this.BorderColor != this.UnfocusedBorderColor)
this.Invalidate(false);
base.OnLostFocus(e);
}