原文: WPF Image Source 設定相對路徑圖檔 BitmapImage bt = new BitmapImage(new Uri("Images\\3_u10484.png", UriKind.Relative)); this.Img1.Source = bt;