943,724 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4860
  • C# RSS
Dec 11th, 2008
0

Display the icon inside the form using c#

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
karthi_selva is offline Offline
65 posts
since Oct 2008
Dec 11th, 2008
0

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
Reputation Points: 11
Solved Threads: 9
Junior Poster in Training
vckicks is offline Offline
58 posts
since Jun 2008
Dec 11th, 2008
0

Re: Display the icon inside the form using c#

Click to Expand / Collapse  Quote originally posted by vckicks ...
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#.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
karthi_selva is offline Offline
65 posts
since Oct 2008
Dec 11th, 2008
0

Re: Display the icon inside the form using c#

A ListView control displays text and an icon, which is what you asked.
Reputation Points: 2035
Solved Threads: 644
Senior Poster
ddanbe is offline Offline
3,736 posts
since Oct 2008
Dec 11th, 2008
0

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
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Dec 12th, 2008
0

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
Reputation Points: 11
Solved Threads: 4
Light Poster
hieuuk is offline Offline
44 posts
since Nov 2008
Dec 12th, 2008
0

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
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
karthi_selva is offline Offline
65 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00
Next Thread in C# Forum Timeline: Maximaze Windows Forms





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC