Users Pricing

forum

home / developersection / forums / handling shift del in c#

Handling Shift Del in C#

Takeshi Okada 3276 12 Feb 2013

Hi Expert!

I am having a DataGridView in a winform with delete handled which authenticates and deletes those rows. However, pressing Shift+Del deletes the rows from

UI. I have tried setting a boolean IsShiftPressed by handling keydown event but that looks ugly. Surely there should be a better way to do it.

Please reply ASAP! Thanks


1 Answers