开发者

Display change notification

开发者 https://www.devze.com 2022-12-18 05:18 出处:网络
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 Eve

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;

0

精彩评论

暂无评论...
验证码 换一张
取 消