i think youre going to have to look into global windows hotkeys if you want this to work outside your form while it is not in focus.
if you want it to work when your form is in focus just create a keypress event for your form -> check which key is pressed (theres a variable when keypress event is created check them) and then call your button function if its the key you want