Windows Form Auto Resize

Posted by Prathibaramana under Others on 4/4/2011 | Points: 10 | Views : 2918 | Status : [Member] | Replies : 1
How to auto resize the windowsform (which is already developed using c#.net(2.0 Framework) ) based on the system resolution ? I tried using Autoscale property of the form to grow & shrink which is not helping out .




Responses

Posted by: Lalji_mer on: 5/10/2011 [Member] Bronze | Points: 25

Up
0
Down
Try to use Dock, or for more precise control use the Anchor property. By setting Anchor to Left, Right, Top, Bottom the control will scale with the window. By setting Anchor to Right the control will move with the right border. By setting Anchor to Top and Bottom the control will scale vertically.

LP MER

Prathibaramana, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response