BitmapImage bt = new BitmapImage(new Uri("Images\\3_u10484.png", UriKind.Relative));this.Img1.Source = bt;
WPF Image Source 设置相对路径图片
原文:https://www.cnblogs.com/SeNaiTes/p/9476368.html