Dual screen problem

I am using VSTS 2008 + C #. Is there a way to get information like, whether we are currently in dual monitor mode, how much is the current resolution of each desktop?

BTW: There are two dual screen modes, duplicate screen or extended screen. I need a solution to distinguish between different modes.

thanks in advance George

+3
source share
2 answers

System.Windows.Forms.Screen.AllScreens

Gets an array of all displays on the system.

Primary Property

Gets a value indicating whether a particular display is the primary device.

And the Bounds property might be the solution for the rest.

System.Windows.Forms.SystemInformation.VirtualScreen

, , .

VirtualScreen , → ...

VirtualScreen = → ...

+5
System.Windows.Forms.Screen

. .

+2

Source: https://habr.com/ru/post/1708716/


All Articles