forum

home / developersection / forums / adding image in run time

Adding Image in Run Time

Anonymous User 2042 23-Sep-2013

 I want to add an image from my Resources to an Image on the press of a Button.

Using Image1.Source = Properties.Resources.MyImage Does not work because the Image1 is of type ImageSource and the Left side is of type Drawing. How can I fix this code to display the image in my resource to the Image on button press?


wpf
Updated on 23-Sep-2013

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By