Combining Events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to combine events... I think thats what I need to do. I want to beable to drag my form from a specified control. So what I thiink I need to do is while the Mouse is Down, if the MouseMoves, to relocate the Form to the Mouse's Position. But I don't know how to check if both events are true.
 
In the MouseMove event handler, test the Button property of MouseEventArgs (e) to see if any buttons are currently pressed.
 
Back
Top