5
Reply

Winform Image Control

David Smith

David Smith

Aug 9 2017 7:26 PM
347

I convert code from WPF to Winforms. Does winforms have an Image control instead of a picture box image. WPF has an Image control where I am trying to capture an image. I am getting an error trying on the code below.

Error: you cannot convert System.Windows.Media.ImageSource to PictureBox. How to achieve this in winforms

pbImage.Image = (ImageSource)ImageSource; // Error


Answers (5)