vb.net应用程序在不同分辨率的机器上. [英] vb.net application in different resolution machine.

查看:270
本文介绍了vb.net应用程序在不同分辨率的机器上.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何运行我的vb.net应用程序将在不同分辨率的计算机上运行.

How to run my vb.net application will run in the different resolution machine.

推荐答案

基于Windows的代码没有默认方法来调整其分辨率.
您必须使用以下任一方式

1.使用锚点或码头样式
2.使用表格布局

表布局比Anchor更易于实现.
它会以与在Web应用程序中设计它相同的方式来帮助您. 定义表在 Percent(%)中给出高度和宽度,然后将所有控件都放在表中.


移至WPF

希望对您有帮助
Windows based code has no default way to adjust it''s resolutions.
You have to use either of following way

1. Use Anchor or Dock style
2. Use table layout

Table layout is easy to implement than Anchor.
it will help you the same way you design it in web application.
Define table give Hight and Width in Percent(%) and put your all controls in table.

OR
move to WPF

Hope it helps


这篇关于vb.net应用程序在不同分辨率的机器上.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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