Occurs when the current cell changes in the System.Windows.Forms.DataGridView control or when the control receives input focus.
This event may occur twice for a single click if the control does not have input focus and the clicked cell was not previously the current cell.
For more information about handling events, see Consuming Events.