更新时间:2023-10-13 18:31:10
颂歌颂,
谢谢您在这里发布.
对于您的问题,以下事件会有所帮助.
For your question, the events below would be helpful.
>> KeyDown : 此 API支持产品基础结构,不能直接在您的代码中使用.在控件具有焦点时按下键时发生.
KeyDown: This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when a key is pressed when the control has focus.
此 API支持产品基础结构,不能直接在您的代码中使用.在控件具有焦点时按下键时发生.
KeyPress: This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when a key is pressed when the control has focus.
KeyUp : 此 API支持产品基础结构,不能直接在您的代码中使用.当控件具有焦点时释放键时发生.
KeyUp: This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when a key is released when the control has focus.
>> 使用图片框捕获鼠标事件
MouseCaptureChanged , MouseClick , MouseDown , MouseEnter ,鼠标悬停,鼠标离开, MouseMove , MouseUp ,鼠标轮.
MouseCaptureChanged, MouseClick, MouseDoubleClick, MouseDown, MouseEnter, MouseHover, MouseLeave, MouseMove, MouseUp, MouseWheel.
我希望这会有所帮助.
***的问候,
温迪