Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create an usercontrol, i drag it to Form, when i resize Form I want to resize that usercontrol in design mode. How to code in Usercontrol? Thanks.
Posted
Updated 25-Sep-12 3:46am
v2

1 solution

The easiest way is to either Dock it to the form, or use the Anchor Property - the form resize will then affect it automatically without you needing to do anything.
 
Share this answer
 
Comments
Andrewpeter 24-Sep-12 11:21am    
Thank you very much, I'm done it. My vote is 5 for you.

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