I want to execute keyboard events in c# but in user controls. Iam calling user controls on forms
if (e.Modifiers == Keys.Control) {
switch (e.KeyCode) {
case Keys.S:
MessageBox.Show("success");
break;
}
}
It is executing in c# forms but not in user controls of c#
Sam HobbsPosted Dec 29, 2010, 1:37 PM
Jean PaulPosted Dec 29, 2010, 8:14 AM