How do you disable a DataGridView's keyboard shorcuts?
问题 I've just noticed that DataGridView s have a default shortcut so that whenever you press Ctrl + H , the DataGridView 's editing control backspaces, and can delete your entire selection within the cell. This can get quite annoying since I want to open a Replace box whenever Ctrl + H is pressed. Is there any way to stop the backspacing while still being able to use it to open the replace box? I'm running C# 2.0, but I could update my application to 3.5 if the newer C# has a solution. 回答1: This