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;
效果

精神共享,智慧共融!
初始状态

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;
效果
