hi,

i am doing a project in C#, i have not much knowledge in c#. the task is display the icon inside the form.

i searched in google. still i am not getting information. if anybody know please send ur details.

Thanks & Regards,
Karthikeyan S

Recommended Answers

All 6 Replies

depends what you mean by "the icon". If it's just an image try a PictureBox

depends what you mean by "the icon". If it's just an image try a PictureBox

hi,

in our computer desktop the icons are displayed. so the same format i like to display in the form using C#.

A ListView control displays text and an icon, which is what you asked.

Or you can try and convert the icon to a bmp and show that in the picture control - depends a little on how you want something displayed

Don't really understand how you want to put in in the form? If just at the design time, picturebox will do fine, if picturebox is not working or you want to put it insde in Runtime, try to using GDI+.
If you're planning to using GDI+, this maybe helpful.
http://hieu.co.uk/post/2008/12/04/Cnet-Basic-image-slide-show.aspx

hi,

currently i am working with listview control. if not possible i will go through GDI+

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.