hi support,
i want to do a Loading in my App when connection to database, How Use pictureBox to do Loading in C# ?
tks!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shweta LodhaPosted Apr 13, 2014, 12:31 PM
Munesh SharmaPosted Apr 13, 2014, 10:31 AM
other option is.
var request = WebRequest.Create("http://www.gravatar.com/avatar/6810d91caff032b202c50701dd3af745?d=identicon&r=PG");
using (var response = request.GetResponse())
using (var stream = response.GetResponseStream())
{
pictureBox1.Image = Bitmap.FromStream(stream);
}