Reputation: 3792
I am developing a sample windows application. In this application, I am making use of WinForms with FormBorderStyle set to sizable. Now, when I run my application, it shows the startup form which is re sizable. This form consist of various windows controls on it. My problem is, when I resize the form, the controls on it do not get re size automatically. Does anybody know how to achieve this? Thanks in advance.
Upvotes: 5
Views: 1560
Reputation: 10544
Set The Dock or Anchor properties of your controls accordingly.
Play with it, it's simple.
Upvotes: 7