Esempio n. 1
0
 public void writeLogEntry(object theClock, TimeInfoEventArgs t)
 {
     Console.WriteLine("Logging the current time: {0}:{1}:{2}", t.Hour, t.Minute, t.Second);
 }
Esempio n. 2
0
 public void timeHasChanged(object theClock, TimeInfoEventArgs t)
 {
     Console.WriteLine("The time is {0}:{1}:{2}", t.Hour, t.Minute, t.Second);
 }