i need to show dialog in screen by its identification number, for example i have this situation
I want to show something on fourth, when i get all screens by using Screen.AllScreens, my fourth screen is 0 element in array, because AllScreens returns screens not by indent number but by squence. So mayby someone knows the way how to get identification number from Screen class, or how to get screen coordinates and bounds by its identification number.
UPDATE:
DeviceName is not always corrspont to identification number (see image below):
If you look at screen.DeviceName
you should get \\\\.\\DISPLAY1
, \\\\.\\DISPLAY2
, etc. You can use this to search for \\\\.\\DISPLAY4
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With