KeyPress
KeyDown
KeyUp
OnKeyDown
OnKeyUp
Preview***
protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == (Keys.Escape)) { this.Close(); return true; } if (keyData == (Keys.Enter)) { ////save code here return true; } if (keyData == (Keys.Down)) { SendKeys.Send("{TAB}"); return true; } if (keyData == (Keys.Up)) { SendKeys.Send("+{TAB 1}"); return true; } 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)