I have a C# form with 5 buttons. The users enters the information and depending on the press of a function key, a specific action is performed. F9-Execute Order,
You need to set
KeyPreview=True
for your form. Otherwise key press is swallowed by the control that has focus.