Click here to Skip to main content
11,485,294 members (77,409 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Background Worker and Timer

, 20 Nov 2012 CPOL 0
i think :bg_DoWork(object sender, DoWorkEventArgs e){ ...... repeat = 10; int i = 0; int delay = 5; DateTime d=DateTime.Now; while ( i < repeat) { TimeSpan ts=d.Subtract(DateTime.Now); if(ts.Seconds==5) { //do some work ...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 20-Nov-12 14:46 Available farshad saeidi
Updates in content. 12 changes had been made.
1 No 20-Nov-12 14:40 Available farshad saeidi

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

farshad saeidi

United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 20 Nov 2012
Article Copyright 2012 by farshad saeidi
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid