2

Possible Duplicate:
Detect change of resolution c# WinForms

I have an application written in C# where my window is docked to the edge of the screen.

I need to know where I can find the event if the resolution has changed so I can call the Dock method so I can repaint my window.

On the form object I can only see the SystemColorsChanged event.

Community
  • 1
  • 1
IEnumerable
  • 3,430
  • 13
  • 44
  • 77

1 Answers1

8

You're looking for the SystemEvents.DisplaySettingsChanged event.

SLaks
  • 837,282
  • 173
  • 1,862
  • 1,933