初始状态

Winfrom PictureBox  设置图片自适应

 

 

1  Bitmap bm = new Bitmap(Image.FromStream(System.Net.WebRequest.Create(new Uri(result.Result)).GetResponse().GetResponseStream()), this.wxImg.Width, this.wxImg.Height);
2                         this.wxImg.Image = bm;

 

效果

Winfrom PictureBox  设置图片自适应

 

相关文章: