有谁知道为什么,当用户presses一个向下的箭头密钥preSS事件不会被解雇?我要寻找它的KeyDown事件。这只是东西,我做错了什么?
Does anyone know why the KeyPress Event doesn't get fired when the user presses a down arrow? I have to look for it in the KeyDown event. Is this just something that I am doing wrong?
根据密钥preSS事件的文件(假设你使用的WinForms):
According to the documentation of the KeyPress event (assuming you are using WinForms):
关键preSS事件不会上调 非字符键;然而,该 非字符键做提高的KeyDown 和KeyUp事件。
The KeyPress event is not raised by noncharacter keys; however, the noncharacter keys do raise the KeyDown and KeyUp events.
向下箭头键不是字符键,所以这个事件不应该被上调了。
The down arrow key isn't a character key, so this event shouldn't be raised for it.