I want to catch keys in my winform KeyDown
event and set Control + . as a shortcut key.
But I can't find . (dot) key in Keys
list.
private void frmMain_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.KeyCode == Keys.DOTKEY) //what is dot key
//Do somthing
}
Keys.Decimal
on the US layout andKeys.OemPeriod
on the German layout are what you're looking for.