I have this code:
private void Form1_KeyDown(object sender, KeyEventArgs e) { MessageBox.Show("Fail!"); }
And I set the event to Form , but it's just not activated.
Other events, such as Resize or MouseDown , work well, only this does not work.
Has anyone ever encountered this problem? What can I do? The [NO button works, neither characters, nor numeric, nor others].
Thank you Mark!
source share