string url = @"http://www.qq.com/1.jpg";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
System.IO.Stream s = request.GetResponse().GetResponseStream();
Image img = System.Drawing.Bitmap.FromStream(s);
s.Close();
this.pictureBox1.Image = img;
网友评论