Solved

How to get all available screen size for 2 or 4 monitors.

Posted on 2009-07-08
2
236 Views
Last Modified: 2013-12-17
   Hi experts!

  Im using C# 2008 , WinForm NET 2. I have save position of Winform and restore it when I open program. But & I have 1 small problem. My software work with 4 screen on 1 computer, which screen give more space in the right (X axis). Now & I work with 1 monitor, but again my program is restored his position with let say X = 2048 , which is not visible in this 1 screen J

 So I need solution to get max. screen size and if my save position is not possible to not restore it. How to do this? Help please &
0
Comment
Question by:dvplayltd
[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
2 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 24803817
try with:
System.Windows.Forms.Screen.GetBounds()
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 24803833
Another alternative:
System.Windows.Forms.SystemInformation.VirtualScreen
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

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 …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…

751 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