What is the difference between mouse click and mouseclick?

What is the difference between mouse click and mouseclick?

+46
c # winforms
04 Oct 2018-10-10T00:
source share
2 answers

Assuming you mean WinForm management events, from the MSDN documentation for Control.Click :

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

+60
04 Oct '10 at 2:10
source share

A click can be triggered not only by a mouse click, but also by some events, such as a pressed key, etc. For more information, see Control.Click Event .

+10
04 Oct 2018-10-10T00:
source share



All Articles