private void dataGridView1_DoubleClick(object sender, EventArgs e)
{
Point hit = this.dataGridView1.PointToClient(Cursor.Position);
DataGridView.HitTestInfo hitTest = this.dataGridView1.HitTest(hit.X, hit.Y);
MessageBox.Show(hitTest.Type + " Row=" + hitTest.RowIndex + " Col" + hitTest.ColumnIndex);
}