gpt4 book ai didi

c# - 单击和鼠标单击有什么区别?

转载 作者:IT王子 更新时间:2023-10-29 03:44:29 25 4
gpt4 key购买 nike

点击和鼠标点击有什么区别?

最佳答案

假设您指的是 WinForm 控件事件,来自 Control.Click 的 MSDN 文档:

The Click event passes an EventArgs to its event handler, so it only indicates that a click has occurred. If you need more specific mouse information (button, number of clicks, wheel rotation, or location), use the MouseClick event. However, the MouseClick event will not be raised if the click is caused by action other than that of the mouse, such as pressing the ENTER key.

关于c# - 单击和鼠标单击有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3852410/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com