Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I want a code that enables the mouse to drag a picture box on the x axis on mouse down event and timer
Posted
Comments
Sergey Alexandrovich Kryukov 2-May-12 16:49pm    
Reason for my vote of 3
What's so hard? What have you done so far?
--SA
Ganesan Senthilvel 2-May-12 16:54pm    
Share your code in this forum to improve
Sandeep Mewara 3-May-12 2:38am    
Here is what is expected of enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

1 solution

Create your own control and put all the functioanlity in the control, not the form.

I wrote up an article on exactly that many years ago. Create your Own Runtime Movable Windows Forms Controls[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900