How to create Resolution independent windows forms in winforms 2.0
-
HI, I am working on a POC project. I am using Winforms 2.0 with .net 2.0. I am developing my forms with monitor resolution as 1024 X 678. In this resolution forms are looking pretty good. When I change the resolution to any other then forms are filling only some portion of the screen.Can anybody have ideas or examples for how to develop the resolution independent winforms. Thanks
vedd
-
HI, I am working on a POC project. I am using Winforms 2.0 with .net 2.0. I am developing my forms with monitor resolution as 1024 X 678. In this resolution forms are looking pretty good. When I change the resolution to any other then forms are filling only some portion of the screen.Can anybody have ideas or examples for how to develop the resolution independent winforms. Thanks
vedd
kuncha wrote:
I am working on a POC project. I am using Winforms 2.0 with .net 2.0. I am developing my forms with monitor resolution as 1024 X 678. In this resolution forms are looking pretty good. When I change the resolution to any other then forms are filling only some portion of the screen.Can anybody have ideas or examples for how to develop the resolution independent winforms.
I always find it helpful to anchor form elements relative to the 4 corners of the screen. That way (assuming that you are not trying to fit too many controls on the form) if resolution changes, the controls stay relatively reasonable.
Pete Soheil DigiOz Multimedia http://www.digioz.com
-
kuncha wrote:
I am working on a POC project. I am using Winforms 2.0 with .net 2.0. I am developing my forms with monitor resolution as 1024 X 678. In this resolution forms are looking pretty good. When I change the resolution to any other then forms are filling only some portion of the screen.Can anybody have ideas or examples for how to develop the resolution independent winforms.
I always find it helpful to anchor form elements relative to the 4 corners of the screen. That way (assuming that you are not trying to fit too many controls on the form) if resolution changes, the controls stay relatively reasonable.
Pete Soheil DigiOz Multimedia http://www.digioz.com
But waht about Control fonts...they are shrinks when resolution chnages