Convert Key to Keys in C#
See the question and my original answer on StackOverflowYou can use KeyInterop.VirtualKeyFromKey Method to convert to a Win32 key, and then directly cast to winforms Keys.
You can use KeyInterop.VirtualKeyFromKey Method to convert to a Win32 key, and then directly cast to winforms Keys.