Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Identfiy screens number?

How to have a function in C# to run the window identification, which will show the numbers 1, 2, ... on the screen same way as we do it by right click on the screen (properties) then we go to Screen Resolution and show the numbers by clicking on Identify.

Can we do that in C#?

like image 616
Data-Base Avatar asked Sep 23 '10 08:09

Data-Base


1 Answers

Yes, look at the Screen class: http://msdn.microsoft.com/en-us/library/system.windows.forms.screen.aspx

You can get a list of all screens through Screen.AllScreens.

like image 73
Lloyd Avatar answered Nov 13 '22 23:11

Lloyd