Users Pricing

forum

home / developersection / forums / adding image in run time

Adding Image in Run Time

Anonymous User 2111 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?


I am a content writter !


1 Answers