Solved

make .net windows/forms independent of screen resolution

Posted on 2010-09-24
2
573 Views
Last Modified: 2013-11-07
How can i make .net windows/forms independent of screen resolution.

I created a windows-form and on some screen-resolution it was showing everything perfectly and on other screen resolutions/monitor sizes it could not show everything. I know the temporary solution is adding scroll bars to your form, but is that the only way to work with windows forms in .NET

pl guide thanks
0
Comment
Question by:at999
2 Comments
 
LVL 6

Accepted Solution

by:
ajb2222 earned 500 total points
ID: 33755192
easy way
------------
Put all the controls inside of a panel control
set the panel control dock property to fill
set the panel control autoscroll property to true.

hard way
------------
use the resize event to resize and move controls based on form size.

more versitle easy way.
------------------------------
use a combination of splitter and panel controls to layout your form with movable areas and auto scrollbars.  then use the resize event to resize these objects based on form size.
0
 

Author Comment

by:at999
ID: 33756263
thanks...

Is it not possible to do something like java, in java you use java swings and you donot have to worry about screen resolution etc....

0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now