// Use this method for the cell click event handler:
private void dataGridView1_CellClick( object sender, DataGridViewCellEventArgs e)
{
int yCoord = dataGridView1.CurrentCellAddress.Y;
int xCoord = dataGridView1.CurrentCellAddress.X;
MessageBox.Show(dataGridView1.Rows[yCoord].Cells[xCoord].Value.ToString())
}