Exemple #1
0
 public void TimeChanged(Object clock, TimeInfoEventArgs args)
 {
     Console.WriteLine("Current Time " + args.hour + ":" + args.minute + ":" + args.second);
 }
Exemple #2
0
 //Method which fires the event
 protected void OnSecondChange(object clock, TimeInfoEventArgs timeInfo)
 {
     SecondChange?.Invoke(clock, timeInfo);
 }