Make .NET snipping tool compatible with multiple monitors

后端 未结 5 2019
轮回少年
轮回少年 2021-01-06 18:54

An alternative snipping tool solution was provided in this posting: .NET Equivalent of Snipping Tool

Now it\'s necessary to make it work for selected screens (on mul

5条回答
  •  既然无缘
    2021-01-06 19:36

    I don't see you doing anything wrong. I can't test this, don't have the setup right now. Bounds is a bit tricky, there's a bunch of code behind it that ensures that the form can't be displayed off-screen. As an alternative, you could set the Location property instead and override OnLoad() in SnippingTool to set the WindowState property.

提交回复
热议问题