//自適應控件高、寬
//_image = Image.FromFile(_sourceFileName).GetThumbnailImage(peProduct.Width, peProduct.Height, null, new IntPtr());
//根據高度,等比縮放寬度
_image = Image.FromFile(_sourceFileName);
_image = DoubleStar.WindowsApplication.Library.ImageManager.MakeThumbnail(_image, 0, peProduct.Height, "H");
peProduct.Image = _image;
_image爲Image對象
_sourceFileName爲圖片路徑
peProduct爲圖片顯示控件