c# - How to assign Control + . as a shortcut key? -


i want catch keys in winform keydown event , set control + . shortcut key.

but can't find . (dot) key in keys list.

private void frmmain_keydown(object sender, keyeventargs e)    {      if (e.control && e.keycode == keys.dotkey) //what dot key         //do somthing    } 

keys.decimal on layout , keys.oemperiod on german layout you're looking for.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -