Nov 07 2009

Winform ProgressBar and Timer control

Add ProgressBar and TimerControl in Form

In Timer Tick event write this code

private void timer1_Tick(object sender, EventArgs e)

{

if (progressBar1.Value >= 200)

{

progressBar1.Value = 0;

return;

}

progressBar1.Value += 20;

}

}

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Leave a Reply

Alibi3col theme by Themocracy