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