DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Display the icon inside the form using c# (http://www.daniweb.com/forums/thread161719.html)

karthi_selva Dec 11th, 2008 12:13 am
Display the icon inside the form using c#
 
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

vckicks Dec 11th, 2008 12:16 am
Re: Display the icon inside the form using c#
 
depends what you mean by "the icon". If it's just an image try a PictureBox

karthi_selva Dec 11th, 2008 12:19 am
Re: Display the icon inside the form using c#
 
Quote:

Originally Posted by vckicks (Post 754759)
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#.

ddanbe Dec 11th, 2008 12:38 pm
Re: Display the icon inside the form using c#
 
A ListView control displays text and an icon, which is what you asked.

LizR Dec 11th, 2008 1:32 pm
Re: Display the icon inside the form using c#
 
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

hieuuk Dec 12th, 2008 7:53 am
Re: Display the icon inside the form using c#
 
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/Cn...lide-show.aspx

karthi_selva Dec 12th, 2008 7:59 am
Re: Display the icon inside the form using c#
 
hi,

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

Thank you


All times are GMT -4. The time now is 8:41 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC