如何在Visual C#Studio 2008中将小图像放置到按钮上 [英] How to put a small image to a button in Visual C# Studio 2008

查看:100
本文介绍了如何在Visual C#Studio 2008中将小图像放置到按钮上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在主窗体中,我有一个按钮.问题是我如何在该按钮上放一个小图像?任何帮助表示赞赏.

In the main form I have a button. The thing is how can I put a small image to that button? Any help is appreciated. Thanks in advanced!

推荐答案

在属性"窗口和Backgroundimage项目中,您可以为按钮选择图像.
问候

按钮控件还具有 Image 属性,该属性与 ImageAlign TextAlign TextImageRelation 属性,可以很好地控制Buttons的文本和图像"显示.
In Properties window and Backgroundimage item you can choose image for yout button.
regard

The Button Control also has an Image property which, together with the ImageAlign, the TextAlign and TextImageRelation properties, can give you pretty good control over the Buttons'' Text and Image display.


这篇关于如何在Visual C#Studio 2008中将小图像放置到按钮上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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