I am a newbiew in c# and visual studio, and I am planning in developing a inventory system using the datagridview. When I was testing it and using the cellclick event, it worked like the cellcontentclick event, which I have to click the content to make sure it is the clicking is read by the app, any suggestion?
Using the cellclick event is much better over the cellcontentclick. If you only have text inside the cells, you'll most likely have significant blank space that will not trigger the event if you are using the cellcontentclick. That would create a confusing user experience if the event triggers only when the text is clicked.
Only use the cellcontentclick if you have a specific reason for using it, and for 99% of the time, you should be using cellclick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With