T
techprot-google04
I used this solution:
http://msdn.microsoft.com/library/d...bconReturningClickedCellValueFromDataGrid.asp
I added the code to my program. And it works great.
What I don't understand is the last part:
this.myDataGrid.MouseDown += new
System.Windows.Forms.MouseEventHandler
(this.myDataGrid_MouseDown);
Of course, I changed "myDataGrid" to the name of the datagrid I'm
using. It works like a charm!
Could someone please help me understand that this code did?
Thanks,
Andrew
http://msdn.microsoft.com/library/d...bconReturningClickedCellValueFromDataGrid.asp
I added the code to my program. And it works great.
What I don't understand is the last part:
this.myDataGrid.MouseDown += new
System.Windows.Forms.MouseEventHandler
(this.myDataGrid_MouseDown);
Of course, I changed "myDataGrid" to the name of the datagrid I'm
using. It works like a charm!
Could someone please help me understand that this code did?
Thanks,
Andrew