在vs2008中定位标签控制迫在眉睫 [英] positioning label control in vs2008 its urgent
本文介绍了在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 theCssClass
property.
Quick Answer: Use Stylesheets
这篇关于在vs2008中定位标签控制迫在眉睫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文