Make .NET snipping tool compatible with multiple monitors

后端 未结 5 1997
轮回少年
轮回少年 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:45

    You need to set the StartPosition of the form to Manual before setting the Location of the SnippingTool, otherwise it gets placed on the primary screen no matter what. Do this either in the constructor or in your using statement and it should fix your issue.

    StartPosition = FormStartPosition.Manual;
    

提交回复
热议问题