5
Answers

Winform Image Control

David Smith

David Smith

7y
370
1

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)