Click here to Skip to main content
12,634,171 members (26,277 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

Background Worker and Timer

, 20 Nov 2012 CPOL
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 4:46 Available farshad saeidi
Updates in content. 12 changes had been made.
1 No 20-Nov-12 4: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

You may also be interested in...

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