Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between CellClick and CellMouseClick?

Is it only in the event arguments that get passed into the event handler?

i know you can get which button made the click in the mouse event, but is that the only difference?

like image 785
jrsconfitto Avatar asked Sep 01 '10 13:09

jrsconfitto


1 Answers

The CellClick event does not receive information about the mouse position. If the event handler needs information about the mouse position, use the CellMouseClick event.

See here:

http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellclick(VS.80).aspx

like image 83
MUG4N Avatar answered Nov 18 '22 16:11

MUG4N