KeyDown
KeyPreview
Form
True
protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Left) { Console.WriteLine("left"); return true; } // etc.. return base.ProcessCmdKey(ref msg, keyData); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)