Well, really a question of "Am I doing this right?" =P
So, its the LOTF source, and this code is in General.cs.
So I have a Timer, and I'll show you what I have.
Code:
public static System.Timers.Timer Timer;
Code:
Timer = new System.Timers.Timer(); Timer.Interval = 300000; Timer.Elapsed += new ElapsedEventHandler(Timer_Elapsed); Timer.Start();
Code:
public static void Timer_Elapsed(object sender, ElapsedEventArgs e)
{
//STUFF HAPPENS
}
Is this the proper way to set up a timer? Or would I need some more coding. Thanks!
Also, how are the Intervals set up? like, how would I do 15 seconds for example?






