Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

make .net windows/forms independent of screen resolution

Posted on 2010-09-24
2
Medium Priority
?
583 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 2000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

618 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