26.01.2015, 17:00
I see your problem. If you create a Timer in a function, it will be destroyed by GC even before it has been executed.
You need to make a global variable and then assign it, so it won't be destroyed by Garbage Collector.
You need to make a global variable and then assign it, so it won't be destroyed by Garbage Collector.