Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

overrided processcmdkey

$
0
0

HI everyone,

I have a datagridview and i filled some of the rows in it. If i press F2 key in a previous row i want to check the value of first cell if it is empty or not .If it is empty, i want to delete the row.

In this case,I wrote the code for F2 in overrided processcmdkey.

In this function how can i get e.formatted value to check the condition as this function doesnot have the argument 'e'.

 

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>