从c#中button能否现在文字同时显示图片,图片在button的左边,右边是文字。怎么做?

如题所述

// 

            // button1

            // 

            this.button1.Image = global::WindowsFormsApplication1.Properties.Resources.截图;

            this.button1.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;

            this.button1.Location = new System.Drawing.Point(63, 374);

            this.button1.Name = "button1";

            this.button1.Size = new System.Drawing.Size(70, 39);

            this.button1.TabIndex = 1;

            this.button1.Text = "主页";

            this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;

温馨提示:内容为网友见解,仅供参考
第1个回答  2011-10-10
button 好像没有这样的功能。
建议:
用图片做背景,右边为图片的颜色为button底色。
第2个回答  2011-10-11
直接用图片做背景吧
相似回答