Method GetKeyCode
GetKeyCode(Keys)
Gets the keyboard code from Keys.
public static Keys GetKeyCode(Keys keys)
Parameters
keys
Keys
Returns
Remarks
This function removes key modifiers (CTRL, SHIFT, and ALT) from the Keys and returns only key codes without modifiers.