.net中的双监视器编程
问题描述:
Hello Everyone
我想在.Net中加入双显示器概念。那可能吗?在网上搜索时,我没有得到任何人的确认答案。
Hello Everyone
I want to incorporate dual monitor concept in .Net. Is that possible? As while searching on net I didn''t get confirmed answer from anyone.
答
绝对可能,注意:没有双重这样的东西监督的概念。可以有一些监视器,一个或多个,当然,用户和应用程序都可以访问其中任何一个。这取决于系统配置。显然,如果模式是重复,对于系统,它看起来只有一个监视器。如果将其配置为将所有显示器合并到一个桌面,则可以将其作为整个公共区域或每个显示器的屏幕单独访问,具体取决于您的需要。
如何做?如果你想询问它(正式地,你从未问过),我希望你问一个你使用的特定UI库的问题。这将是System.Windows.Forms
的一种方式,不同于WPF,Metro或其他任何你想要使用的方式。-SA
It is absolutely possible, with on note: there is no such thing as "dual monitor" concept. There can be some number of monitors, one or more, and of course, both the user and your application program can get access to any of them. It depends on the system configuration. Apparently, if the mode is "duplicate", for the system it looks like just only one monitor. If it is configured to merge all monitor to one single desktop, you can access it as a whole common area or each monitor''s screen separately, depending on how you want it.
How to do it? If you want to ask about it (formally, you never asked), I would prefer you ask a question for a particular UI library you used. It will be one way forSystem.Windows.Forms
, different for WPF, Metro, or whatever else you want to use.—SA