c# - See if left mouse button is held down in the OnMouseMove event -
How can I find that a control in the left mouse button OnMouseMove
?
Let's tell your event holder an MouseEventArgs
for an OnMouseMove event If the left button is pressed, then
Private Zero mouseMoveEventHandler (Object Sender, MouseEventArgs E) {if (e.button == MouseButtons.Left) {// Skip the stuff} else {/ Do other things}}
Comments
Post a Comment