Resize

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi,

Can some one please point me in the direction of some C# code that will
resize all controls on a form when the form is resized.

Thanks

Chris
 
Chris said:
Hi,

Can some one please point me in the direction of some C# code that will
resize all controls on a form when the form is resized.

Thanks

Chris
Check out the dock and anchor properties.
Otherwise you would need to resize in the resize event.

JB
 
Hello,
To be more exact you need to change it in SizeChanged event, if you
are not using Dock or Anchor properties.

HTH. Cheers
Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net
 
Back
Top