Setting my Display Resolution

前端 未结 3 1089
长情又很酷
长情又很酷 2021-01-25 04:54

I\'m a C# developer and I have to change my display resolution regularly.

There are plenty of examples on how to read the current display resolutions: SystemInformation.

3条回答
  •  春和景丽
    2021-01-25 05:22

    You'll have to make a PInvoke call to ChangedisplaySetting.

    Here's a link that has some sample code, http://www.xtremedotnettalk.com/printthread.php?t=73184.

提交回复
热议问题