Friday, April 4, 2008

Resize windows Form Controls w.r.t Screen Resolution

We have a main problem in developing windows application is that the controls which we are placing inside a form may not visible when the screen resolution changes. For that, we can use the below class to change the position of the controls. For this, u have to design the form in low resolution, so that the controls will change their position with respect to higher resolution monitors

Add this class to your project and change the namespace name

Layout Manager Class

Now, your form will set displayed for all resolution monitors.....

Happy coding....