我们如何才能将Windows应用程序最大化到双显示器上 [英] How can we maximize a windows application on to dual monitors

查看:442
本文介绍了我们如何才能将Windows应用程序最大化到双显示器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在双显示器上最大化Windows应用程序。是否有任何有效的c#代码?。

解决方案

您的Web应用程序无法控制这些事情。通常,对客户端系统的控制非常有限;只有在网页内发生的事情,你甚至无法控制浏览器的行为。事情的设计主要是为了安全目的,也是因为标准化涉及各种各样的平台和浏览器。



-SA


  int  screenLeft = SystemInformation.VirtualScreen.Left; 
int screenTop = SystemInformation.VirtualScreen.Top;
int screenWidth = SystemInformation.VirtualScreen.Width;
int screenHeight = SystemInformation.VirtualScreen.Height;

this .Size = new System.Drawing.Size(screenWidth,screenHeight );
this .Location = new System.Drawing.Point(screenLeft,screenTop);


How can we maximize a windows application on to dual monitors. Is there any working c# code ?.

解决方案

Your Web application have no control over such things. Generally, the have very limited control over the client systems; only over what happens inside Web pages, you cannot even control the behavior of the browser. Things are designed this way mainly for safety purposes, and also due to necessity for standardization covering wide variety of platforms and browsers.

—SA


int screenLeft = SystemInformation.VirtualScreen.Left;
int screenTop = SystemInformation.VirtualScreen.Top;
int screenWidth = SystemInformation.VirtualScreen.Width;
int screenHeight = SystemInformation.VirtualScreen.Height;

this.Size = new System.Drawing.Size(screenWidth, screenHeight);
this.Location = new System.Drawing.Point(screenLeft, screenTop);


这篇关于我们如何才能将Windows应用程序最大化到双显示器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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