变更解析度 [英] Change resolution

查看:63
本文介绍了变更解析度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在用户使用我的程序时更改其分辨率.因为我不知道他的解决方案.结果,我想在窗体加载事件中编写代码,以便获得1280 * 1024的分辨率.当用户关闭我的程序时,他将恢复其分辨率.我想知道我该怎么做.请帮我做,并正确地向我解释.

I want to change user`s resolution when he will use my program. Because I dont have idea about his resolution. As a result I want to write code there in form load event so that it will get 1280*1024 resolution. When user will close my program he will get his resolution back. I want to know how can I do it. Please help me to do it & explain it to me properly.

推荐答案

花了我两秒钟的时间找到http://www.xtremedotnettalk.com/showthread.php? t = 80165和google.

但是,这是一个愚蠢的主意,除非您的应用程序全屏运行,并且始终在4:3的宽高比监视器上运行(他们不再销售该监视器),并且您的应用程序用户永远都不想在应用程序之间切换.我会考虑将任何更改我的屏幕分辨率的应用程序编写得不好,设计不当.
Took me two seconds to find http://www.xtremedotnettalk.com/showthread.php?t=80165 with google.

however, this is a dumb idea, unless your app runs full screen, and always runs on a 4:3 aspect ratio monitor ( which they don''t sell anymore ) and the user of your app would never want to jump between applications. I''d consider any app that changes my screen resolution to be poorly written and poorly designed.


这篇关于变更解析度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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