Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a requirement where my .NET application will run on a computer having two active monitors.
The main application will be running on 1 monitor (meanwhile the second monitor should not show any thing), but at a specific event (hiting of a button in the main application), the desired behavior is to show a specific form ONLY on the second monitor, and on submitting the screen should again be turned black.
Any piece of advice would be appreciated
rgds
Posted

1 solution

You can use SystemInformation.VirtualScreen[^] and other SystemInformation properties to determine the screen size and position. Then position the windows appropriately.
 
Share this answer
 
Comments
fmalik123 23-Sep-10 2:16am    
Thanks for the reply, but the monitors are not sharing the same screen (as you may have assumed), they are seperate monitors connected to one computer, actually one is facing the sales rep the other the customer, and we want to show certain screens (input forms to the customer)
[no name] 23-Sep-10 7:05am    
http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.allscreens.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900