开发者

C# application on dual monitors, reverts to single monitor after screen lock

开发者 https://www.devze.com 2023-01-12 13:12 出处:网络
I have an issue with one of my c# applications, it has a single form which is stretched over two monitors and works fine, however if I lock the screen and come back to it, the application reverts to a

I have an issue with one of my c# applications, it has a single form which is stretched over two monitors and works fine, however if I lock the screen and come back to it, the application reverts to a single screen view.

I w开发者_开发技巧as wondering if anyone had come across something like this before or knew why this was happening?

thanks


I think this happens because the second screen is disabled during the desktop is locked. If you now log in again, the form will reinitialize it's position before the second monitor is activated again.

This small article might help you, to solve the problem :)

0

精彩评论

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