开发者

resize and adjust form controls as per the form resize

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜