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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top