I visit a website,somebody ask:"pictureBox 怎样加载一个http://url图像?",and
Many people give the answer:
1.
2.
pictureBox1.Image
=
Image.FromStream(System.Net.WebRequest.Create(http:
//
www.baidu/new.gif ).GetResponse().GetResponseStream());
2.
pictureBox1.Image
=
new
Bitmap((
new
System.Net.WebClient()).OpenRead(http:
//
www.baidu/new.gif ));
I use the first of the programs, and successed.