How to move a button around the form at RUNTIME ? (c#)

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

What is the cleanest and most efficient way to move a button or picture
around the form at RUNTIME ?

I want to achieve similar results like the form designer at design time.

Johan
 
You need to subclass the control and handle all events like MouseUP,
MouseDOWN, MouseMOVE and perform appropriate steps to move your control.
 
Back
Top