How to appear image and disappear after 5 seconds?
I have a picturebox1, Timer1 and 1 button inside a form. The picturebox1 is set visible=false in form load. What I want to happen is: When I clicked the button,the picturebox should appear and after 5 seconds it should disappear. Please help me. Your answers is highly appreciated. Thank you.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Munesh SharmaRank #174 · 13.9K reputationPosted Apr 20, 2014, 8:54 AM EDT
http://bytes.com/topic/visual-basic-net/answers/707269-updating-picturebox-image-every-x-seconds-how
http://social.msdn.microsoft.com/Forums/en-US/2bc09bbf-afd4-40c8-9829-002969e43f60/image-disappears-from-picturebox
Ranjit PowarRank #553 · 4.4K reputationPosted Apr 20, 2014, 10:25 AM EDT
private void Form1_Load(object sender, EventArgs e)
{
pictureBox1.Visible = false;
}
private void button1_Click(object sender, EventArgs e)
{
pictureBox1.Visible = true;
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
pictureBox1.Visible = false ;
timer1.Stop();
}