I would like to perform key event detection in textbox. The key should combination of Ctrl+K, is there any best way to do it?
+3
A:
In KeyDown event of TextBox, use:
if (e.Control && e.KeyCode == Keys.K) {
//Your code here
}
danish
2009-07-10 03:16:26