我想繪製一個圖片框中的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(.....................);
請幫幫我。 謝謝。
非常感謝你。我的問題已解決您的解決方案。謝謝 –