How to make a form shrink to a smallest possible size?
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.
精彩评论