Exemple #1
0
 protected override void OnStop()
 {
     timer1.Enabled = false;
     Libary.WriteErrorLog("Test window services stopped");
 }
Exemple #2
0
 private void timer1_Tick(object sender, ElapsedEventArgs e)
 {
     Libary.WriteErrorLog("Timer ticked and some job has been done succesfully");
 }