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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 13, 2014, 6:31 AM EDT
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);
}
Shweta LodhaRank #31 · 39.8K reputationPosted Apr 13, 2014, 8:31 AM EDT