Display change notification
Is there any way to know that computer monitor was changed to another one? I need to res开发者_Go百科et display settings to default, if new one connected.
SystemEvents.DisplaySettingsChanged += new EventHandler(SystemEvents_DisplaySettingsChanged);
You'll need to add a reference to Microsoft.Win32;
精彩评论