屏幕分辨率与应用 [英] Screen Resolution vs application

查看:139
本文介绍了屏幕分辨率与应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

如何为Windows应用程序自动调整屏幕分辨率.我想这样尝试:


Hello Friends

How to adjust screen resolution automatically for windows application. i want to try like this :


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

//this.Height = System.Windows.Forms.Screen.AllScreens[0].WorkingArea.Height;
//this.Width = System.Windows.Forms.Screen.AllScreens[0].WorkingArea.Width;

            int iWindowWidth = Screen.PrimaryScreen.Bounds.Width;
            int iWindowHeight = Screen.PrimaryScreen.Bounds.Height;
            this.Size = new Size(iWindowWidth, iWindowHeight);

,但它不起作用
请帮助我.

but it is not working
please help me.

推荐答案

希望 ^ ]和
Hope Link1[^]and Link2[^] might help you.


这篇关于屏幕分辨率与应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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