Solved

make .net windows/forms independent of screen resolution

Posted on 2010-09-24
2
579 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

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