I have a form which contain some controls and user controls,
I want to exit the application when press the ESC key at anytime,
So i made the previewKey property for the form true,
But it dosn't work somtimes because of the usercontrols,
So what i need is:
A function that can feel and keypress on the form regardless the controls on it, it may be an API.
Need ideas and code please,