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
Solved

make .net windows/forms independent of screen resolution

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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