My opinion would be to assign your timer in your class constructor:
instead of
private System.Threading.Timer timer = new System.Threading.Timer(
_TimerTick,
null,
1000 * 30 * 60,
Timeout.Infinite);
I would use something like that:
class YourClass
{
private System.Threading.Timer timer;
public YourClass()
{
timer = new System.Threading.Timer(
_TimerTick,
null,
1000 * 30 * 60,
Timeout.Infinite);
}
//...
}
Or there is another way to walkthrough