I am trying to allow users to give their own combination of keys to trigger an event.
For example, the user will be allowed to give a combination of keys in a textbox. And once the combination of keys are pressed some event should occur(close form2 or something like that).
Now part 1 is:- The user should be allowed to give their combination of key in the textbox provided(shift+control+z).
Part 2: Once the user click the specified combination of keys in the textbox an event should occur.
I have been trying to get this done but got stuck. So any help will be appreciated.