Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Timer example for Yasmin
ncosentino
Aug 18th, 2013
330
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C#
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
var
timer
=
new
Timer
(
)
;
timer
.
Tick
+=
(
sender, e
)
=>
{
// call your database code here
}
;
timer
.
Interval
=
5000
;
// this value is in milliseconds
timer
.
Start
(
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
+7k$ in one day
JavaScript | 1 hour ago | 0.38 KB
+5k in one day
C++ | 1 hour ago | 0.41 KB
Untitled
C++ | 1 hour ago | 0.16 KB
Moneymaking Guide
C++ | 1 hour ago | 0.39 KB
Untitled
C++ | 1 hour ago | 0.16 KB
Monetizing Method
C++ | 1 hour ago | 0.16 KB
Guides
C++ | 1 hour ago | 0.39 KB
Guides
C++ | 1 hour ago | 0.16 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!