我想绘制一个图片框中的System.Windows.Media.Imaging.BitmapSource。 在WPF应用程序,我这个做:在WindowsForm中的PictureBox中显示System.Windows.Media.Imaging.BitmapSource C#
image1.Source =BitmapSource.Create(....................);
,但现在我有一个表格。我在表单中导入PresentationCore.dll以使用BitmapSource; 但现在我如何绘制或显示它在这样的PictureBox? :
pictureBox1.Image=BitmapSource.Create(.....................);
请帮帮我。 谢谢。
非常感谢你。我的问题已解决您的解决方案。谢谢 –