如何独立设置图像位置 [英] How to set image location independent

查看:103
本文介绍了如何独立设置图像位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目,并且我将图像用于菜单,链接等.
但是,当我在其他不同的PC上运行此项目时.哪个屏幕的尺寸不同.它的外观不正确.按我的设置.

I am developing a project and i used images for menu,link etc.
But when i run this project on different different PC. Which screen are different in size. it''s not look in proper way. as i set it.

推荐答案

请查看我过去的回答:
当屏幕分辨率改变时,Zom Out发生故障 [ ^ ].

这是一个非常基本的示例,但是它解释了它是如何工作的:
如何停靠按钮,以便它可以使用以下格式进行调整 [ GUI外观-C#.Net [
Please see my past answer:
Zom Out malfunctions when Screen resolution changes[^].

This is quite a rudimentary sample, but it explains how it works:
how to dock button so that it can adjust with the form[^].

My answer to another question, remotely related:
GUI Apperance - C#.Net[^].

Good luck,
—SA


(如果您的应用程序窗口为
http://msdn.microsoft.com /en-us/library/system.windows.forms.control.anchor(v=vs.100).aspx [> http://stackoverflow.com/questions/1919997/maintaining-the-size-and-position-of-the-control-in-form [
if your application windows form
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.anchor(v=vs.100).aspx[^]
http://stackoverflow.com/questions/1919997/maintaining-the-size-and-position-of-the-control-in-the-form[^]


这篇关于如何独立设置图像位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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