Solved

make .net windows/forms independent of screen resolution

Posted on 2010-09-24
2
578 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

737 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