Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Yep, MouseClick is the general one. There's also a bunch of Mouse* methods like MouseDown and MouseUp you can handle. Also, the grid has CellClick and CellDoubleClick, and ones like ColumnHeaderMouseClick and ColumnHeaderMouseDoubleClick. Almost all of those will have MouseEventArgs which will tell you the mouse button that was used. Just test on e.Button == MouseButtons.Right or something like that in your handler and you should be in business.
|