Reputation: 3143
I have a form on which i want to place certain controls. I want them to be positioned on the form according to the form size, that is, far apart when the form is maximised and close when it is smaller in size.
How to do it? Thanks.
Upvotes: 4
Views: 9034
Reputation: 11273
There are two properties on every windows form control Dock and Anchor Using these you could beautifully place controls and test for different sizes of forms. Check these links and do look out for behaviour by playing around with these properties.
Upvotes: 6