Click here to Skip to main content
15,905,563 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello

I want a simple function for providing a button with small rectangle signs (i.e: top,left,right,bottom,...) used for enable user controlling of size of button.

an example in the next image :

http://i53.tinypic.com/2uejkw2.jpg[^]

I see a lot of programs do this function, How can I make it ?

thanks
Posted

1 solution

A little use of a search engine with the correct search term would have saved you time.

For now take a look at Control Resizer[^], an article here on Code Project.

If that is not to your liking I would suggest that you search using any of the following terms:

c# resize controls at runtime

c# drag controls at runtime

c# move controls at runtime

c# drag handles at runtime

c# resize handles at runtime
 
Share this answer
 
Comments
Dalek Dave 26-Oct-10 15:18pm    
Nice answer Henry!
Nish Nishant 26-Oct-10 15:40pm    
Yep, good link too.

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