RSS Forums RSS

Display the icon inside the form using c#

Please support our C# advertiser: DiscountASP.NET – 3 Months Free on C# Web Hosting
Reply
Posts: 56
Reputation: karthi_selva is an unknown quantity at this point 
Solved Threads: 0
karthi_selva karthi_selva is offline Offline
Junior Poster in Training

Display the icon inside the form using c#

  #1  
Dec 10th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Posts: 47
Reputation: vckicks is an unknown quantity at this point 
Solved Threads: 9
vckicks vckicks is offline Offline
Light Poster

Re: Display the icon inside the form using c#

  #2  
Dec 10th, 2008
depends what you mean by "the icon". If it's just an image try a PictureBox
Visual C# Kicks - Free C# code resources and articles.
Reply With Quote  
Posts: 56
Reputation: karthi_selva is an unknown quantity at this point 
Solved Threads: 0
karthi_selva karthi_selva is offline Offline
Junior Poster in Training

Re: Display the icon inside the form using c#

  #3  
Dec 10th, 2008
Originally Posted by vckicks View Post
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#.
Reply With Quote  
Posts: 1,223
Reputation: ddanbe is just really nice ddanbe is just really nice ddanbe is just really nice ddanbe is just really nice 
Solved Threads: 163
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Nearly a Posting Virtuoso

Re: Display the icon inside the form using c#

  #4  
Dec 11th, 2008
A ListView control displays text and an icon, which is what you asked.
"If you judge people, you have no time to love them." Mother Teresa
Make love, no war. Cave ab homine unius libri.
First rule of debugging: "If you get a different error message, you're making progress."
Danny
Reply With Quote  
Posts: 1,734
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 184
LizR LizR is offline Offline
Posting Virtuoso

Re: Display the icon inside the form using c#

  #5  
Dec 11th, 2008
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
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Posts: 44
Reputation: hieuuk is an unknown quantity at this point 
Solved Threads: 4
hieuuk hieuuk is offline Offline
Light Poster

Re: Display the icon inside the form using c#

  #6  
Dec 12th, 2008
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
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
Reply With Quote  
Posts: 56
Reputation: karthi_selva is an unknown quantity at this point 
Solved Threads: 0
karthi_selva karthi_selva is offline Offline
Junior Poster in Training

Re: Display the icon inside the form using c#

  #7  
Dec 12th, 2008
hi,

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

Thank you
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Views: 1256 | Replies: 6 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:59 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC