如何标记带有标签的窗体 [英] how to stamp a windows form with labels on it
本文介绍了如何标记带有标签的窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我是一名新手,我正在使用vs 2010.我有一个带有背景图片的窗体。我有一些标签
我想在那个标签上加盖标签。
我该怎么做?
我已经很多人了。但我很困惑如何做到这一点,因为有这样的人工具,但不知道这是什么东西,但我怎么能盖上标签上的表格?
提前谢谢
解决方案
最简单的方法是使用VB powerpacks中的PrintForm组件:它只有几行代码。 http://msdn.microsoft.com/en-us/library/ microsoft.visualbasic.powerpacks.printing.printform.aspx [ ^ ]
但是如果使用PrintDocument,你会得到更好的结果 - 它有点儿更多的是让你的头脑,但它产生了更多,更灵活,通常更好的结果: http:/ /msdn.microsoft.com/en-us/library/6he9hz8c.aspx [ ^ ]
这两个链接都提供了一个示例。
错字:PrintDocuiment为PrintDocument - OriginalGriff [/ edit]
请看看这个
http://msdn.microsoft.com/ en-us / library / 6he9hz8c.aspx [ ^ ]
hi
i am a newbie i am using vs 2010. I have a windows form with a background image. And i have some label on that
I want to stamp that form with labels on that.
How can i do that?
I have seached a lot but. but i am confused how to do that as there are so man tools i.ei dont know what is this all thing but how can i stamp a form which labels on it?
Thanks in advance
解决方案
The easiest way is to use the PrintForm component from VB powerpacks: it''s only a couple of lines of code. http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.printform.aspx[^]
But you will get better results if you use a PrintDocument - it''s a bit more to get your head around, but it produces a much, much more flexible and generally better result: http://msdn.microsoft.com/en-us/library/6he9hz8c.aspx[^]
Both of the links provide an example.
[edit]Typo: PrintDocuiment for PrintDocument - OriginalGriff[/edit]
please have a look into this
http://msdn.microsoft.com/en-us/library/6he9hz8c.aspx[^]
这篇关于如何标记带有标签的窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文