protected void OnTimeChanged(int tick)
 {
     if (this.TimeChangedEvent != null)
     {
         var args = new TimeChangedEventArgs(tick);
         this.TimeChangedEvent(this, args); // eventa ni preprasta dirketno kam methoda da se izpalni
     }
 }
 private static void TimeChangedMethod(object sender, TimeChangedEventArgs eventArgs)
 {
     Console.WriteLine("{0}! Ticks left = {1}", sender.GetType().Name, eventArgs.TicksLeft);
 }