如何获取系统的多监视器模式? [英] How to retrive the multi monitor mode of my system?

查看:85
本文介绍了如何获取系统的多监视器模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我有一个wpf应用程序,并且我想要一个多监视器支持.
首先,我该如何检索我的系统在c#中运行的模式("span"或"duplicate")? 请回复asap

Hi.
i have a wpf application and i want a multi monitor support for it.
first of all, how can i retrive what mode("span" or "duplicate") my system is running on in c#??
please reply asap

推荐答案

阅读此项目;
http://efreedom.com/Question/1-886700/Dual-Screen-Programming-Issue [ ^ ]

将虚拟屏幕尺寸与主屏幕尺寸进行比较将确定模式.例如跨度(扩展)或克隆(重复),可以在System.Windows.Forms.SystemInformation名称空间中找到这些大小.
Reading this item;
http://efreedom.com/Question/1-886700/Dual-Screen-Programming-Issue[^]

Comparing the Virtual Screen size against Primary screen size will determine mode; e.g. span (extended) or cloned (duplicate), these sizes can be found in System.Windows.Forms.SystemInformation namespace.


这篇关于如何获取系统的多监视器模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆