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
Post a Comment