image and my.resources (wpf)
-
:confused: :confused: :confused: I've defined an image control (System.Windows.Controls.Image) I need to set the image.source property at the run time setting an image loaded from my.resources image.source = system.windows.media.imagesource my.resources è un tipo system.drawing.bitmap If i try to directly assign my,resources.image i got "Cannot convert "System.Drawing.Bitmap" into "System.Windows.Media.ImageSource" Can someone help me? Bob1970
-
:confused: :confused: :confused: I've defined an image control (System.Windows.Controls.Image) I need to set the image.source property at the run time setting an image loaded from my.resources image.source = system.windows.media.imagesource my.resources è un tipo system.drawing.bitmap If i try to directly assign my,resources.image i got "Cannot convert "System.Drawing.Bitmap" into "System.Windows.Media.ImageSource" Can someone help me? Bob1970
Shimi