-1

I need to identify the changes of the display resolutions in run time. This (Keep track of screen change and screen resolution change in Windows Form Application to change form size) helped me to trigger the event. But I am still unable to get new resolutions of the display.

Can it be achieved using sender and e?

Community
  • 1
  • 1
AnoAPI
  • 124
  • 1
  • 1
  • 8

1 Answers1

2

Just get the screen Bounds from the screen itself:

Screen.PrimaryScreen.Bounds

Or iterate over Screen.AllScreens to get all screens and their dimensions.

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325