Click here to Skip to main content
15,901,666 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
So How about a couple examples of how sme of you pros would put an image inside a class as just 1 of the class fields . Because I could only think of the image
field as a string that is the path to the image. So expand my mind OK ?
Posted
Comments
walterhevedeich 3-May-11 21:37pm    
Wow. Thats a rude way of asking a question. Good luck.
Sergey Alexandrovich Kryukov 3-May-11 23:38pm    
There is something unpleasant in the tone, but some Inquirers are worse. Let's see.
--SA
o1010wanabe 3-May-11 21:40pm    
really ? I dont get it . how so.

1 solution

I can hardly understand what so special about image.

Why you think you can use string member of the class and cannot use an image itself? Scratch out "string" and replace is with "System.Windows.Media.ImageSource" or "System.Windows.Media.Imaging.BitmapSource", work with it as such. What's wrong with that?

—SA
 
Share this answer
 
Comments
o1010wanabe 3-May-11 23:46pm    
Thanks , I doubt anything Wrong . This is the kind of example I was
hoping for. I am a begginer and I wouldnt speculate as to why this would not occur to me at this stage of my learning, so again Thanks.
o1010wanabe 3-May-11 23:59pm    
One more thing SAKryukov has taken time to answer more than a couple of my questions and I very much appreciate your time.
Sergey Alexandrovich Kryukov 4-May-11 1:26am    
You're welcome.
Thanks for accepting this answer.
When and if you face a problem while working with WPF images -- that's a different story; in this case, feel free to ask another question or follow up on this one.
Cheers,
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900