开发者

resize and adjust form controls as per the form resize

开发者 https://www.devze.com 2022-12-14 03:56 出处:网络
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 r

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, wh开发者_Go百科en I resize the form, the controls on it do not get re size automatically. Does anybody know how to achieve this? Thanks in advance.


Set The Dock or Anchor properties of your controls accordingly.

Play with it, it's simple.

0

精彩评论

暂无评论...
验证码 换一张
取 消