Resize a form based on content size

  • Thread starter Thread starter Evan Stone
  • Start date Start date
E

Evan Stone

Is it possible to resize a form based on the size of its contents? In
VB6- we had ScaleWidth & ScaleHeight properties, with which one could
get/set the form size to fit exactly.

Is there an analog in the .NET Framework?

Thanks!

-Evan
 
Evan,

Evan Stone said:
Is it possible to resize a form based on the size of its contents? In
VB6- we had ScaleWidth & ScaleHeight properties, with which one could
get/set the form size to fit exactly.

Is there an analog in the .NET Framework?

\\\
Me.ClientSize = New Size(100, 100)
///
 
Back
Top