   C#: Resizing controls at run time?
  I want my web browser control to always be a certain % of the windows width, how can I resize controls at runtime in C#?Also how do I find the forms width and height?   
  System.Windows.Forms.Control has a public read/write property Size.   ;  If it's a web browser control, couldn't you just set its width attribute to x%?   ;  Thanks.How can I get the forms width and height?   ;  You can also use the Anchor and Dock properties to achieve the desired result.Magius   ;Quote:Original post by FixxerThanks.How can I get the forms width and height?A Form is also a Control; you can read from the Size property.   ;  Thanks =)   