A Timer moves a square
Moving Object
– □ ×
Tick events in one second
0 ... 1000 ms
Tick events
0
Paint events
0
x in memory
10
Ticks per second
20
Speed (px/s)
100
timer1.Interval
50 ms
dx
(step)
5 px
Call this.Invalidate() in Tick
Bounce at the edges