如何在c Sharp .net中的图像下方标记名称 [英] how to tag name below the image in c sharp .net

查看:81
本文介绍了如何在c Sharp .net中的图像下方标记名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我需要您的帮助.基于Windows的网络应用程序.我的要求是我必须在图像下方显示文本,例如在其图像下方显示项目的价格..如何执行此操作..

thnx ..

hi all ,
I need your assistance .I m working on c sharp . net windows based applications . My requirement is i have to show the text below the image like showing the price of an item below its image .. how to perform this ..

thnx..

推荐答案

假设您使用的是PictureBox控件来显示图像,请在其下方添加一个Label控件.为控件指定一个合适的名称,然后在C#代码中设置其Text属性.
Assuming you are using a PictureBox control to show the image, add a Label control below it. Give the control a suitable name, and set it''s Text property in your C# code.


这篇关于如何在c Sharp .net中的图像下方标记名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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