David Smith

David Smith

  • NA
  • 2k
  • 0

Winform Image Control

Aug 9 2017 7:26 PM

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)