开发者

How to make a form shrink to a smallest possible size?

开发者 https://www.devze.com 2022-12-13 03:50 出处:网络
How to make a form shrink to a smallest possible size Windows.Forms? There was a pack() method in Swing that woked well but if I make all the components and a form i开发者_JAVA百科tself AutoSise = tr

How to make a form shrink to a smallest possible size Windows.Forms?

There was a pack() method in Swing that woked well but if I make all the components and a form i开发者_JAVA百科tself AutoSise = true I get a dot (one pixel dot) on the screen.


If you mean you want to define a 'smallest possible size', use the Form.MinimumSize property.

0

精彩评论

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