Im trying to implement a way to set the shortcuts defined by the user.
Im using NHibernate and my model class returns me fields in Keys type (Keys is an Enum that contains the name of the keys. example: Keys.F1)
I have implemented it in a static way and the code is the following:
Code:
internal void set_shortcuts (KeyEventArgs e) { switch (e.KeyCode)