Mayur Gujrathi

Mayur Gujrathi

  • NA
  • 119
  • 403.7k

About Keyboard events in User Controls

Dec 29 2010 5:33 AM
Dear Friends
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#


Answers (2)