自动调整Project wondo Screen作为显示器屏幕分辨率设置 [英] Auto adjust Project wondo Screen as Monitor Screen Resolution setting

查看:180
本文介绍了自动调整Project wondo Screen作为显示器屏幕分辨率设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在C#Windows应用程序中创建了一个项目,它在Windows 7操作系统中运行成功,但是当安装客户端机器时,如果它们是XP操作系统,那么项目窗口的某些部分不显示或屏幕外侧



我希望自动调整项目Windows按屏幕分辨率设置或任何其他建议

解决方案

您可以执行以下操作之一

1-启动表单最大化

将System.Windows.Forms.Form.WindowState属性设置为FormWindowState.Maximized 



2-或从代码设置



  this  .Location =  new  Point( 0  0 ); 

this .Size = Screen.PrimaryScreen.WorkingArea.Size;


i have create one project in C# Windows Application it run in Windows 7 operation System successfully but when install client machine if their is XP Operating system then Some Part Of Project Windows Not Display or Out Side Of The Screen

I Want Automatic Adjust Project Windows as Per Screen Resolution setting OR Any Other Suggestion

解决方案

you can do one of the following
1- start the form maximized

Set the System.Windows.Forms.Form.WindowState property to FormWindowState.Maximized


2- or set it from code

this.Location = new Point(0, 0);

this.Size = Screen.PrimaryScreen.WorkingArea.Size; 


这篇关于自动调整Project wondo Screen作为显示器屏幕分辨率设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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