= new BitmapImage(new Uri("pack://application:,,,/1.jpg"));
var drawingVisual = new DrawingVisual...将两个图片同时画出来
public MainWindow()
{
InitializeComponent();
var bitmapImage...= new BitmapImage(new Uri("pack://application:,,,/1.jpg"));
var drawingVisual = new DrawingVisual...dc.DrawImage(croppedBitmap, new Rect(10, 10, 50, 50));
dc.DrawImage(bitmapImage...= new BitmapImage(new Uri("pack://application:,,,/1.jpg"));
var drawingVisual = new DrawingVisual