In winform C #, how to determine which monitor an application displays

Duplicate How to find on which screen the application in C # works

In winform C #, how to determine which monitor the application displays in the three monitor settings.

+4
source share
1 answer
System.Windows.Forms.Screen.FromControl() 

Retrieves the display screen containing the largest portion of the specified control.

And also this property can be useful:

 System.Windows.Forms.Screen.AllScreens 

Gets an array of all displays in the system.

+6
source

All Articles