How to capture shortcut keys in Visual Studio .NET:
"On This Page"
This article describes how to capture keyboard events in the Form object by using Microsoft Visual Studio .NET. The sample function demonstrates how to confirm that a user has entered a keyboard shortcut.