在vs2008中定位标签控制迫在眉睫 [英] positioning label control in vs2008 its urgent

查看:73
本文介绍了在vs2008中定位标签控制迫在眉睫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hiiii:confused :,

如何在vs2008中设置标签控件的位置....
vs2008的新功能.2005年非常容易....


请帮助nw m ..

解决方案

使用样式,这将需要您向标签添加样式属性.

例如label.Attributes.add("style","position:absolute;left:10px;top:20px;");


或者,您可以在样式表中定义样式,然后通过CssClass属性将其分配给标签.


快速解答:使用Stylesheets


hiiii:confused:,

how set position of label control in vs2008....
m new to vs2008..it was very easy in 2005....


plz help nw m frusted ..

解决方案

Use styles, this will require you to add a style attribute to the label.

e.g. label.Attributes.add("style","position:absolute;left:10px;top:20px;");


Or you could define a style in a stylesheet and assign this to the label through the CssClass property.


Quick Answer: Use Stylesheets


这篇关于在vs2008中定位标签控制迫在眉睫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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