Exemplo 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);
 }
Exemplo n.º 2
0
 public void timeHasChanged(object theClock, TimeInfoEventArgs t)
 {
     Console.WriteLine("The time is {0}:{1}:{2}", t.Hour, t.Minute, t.Second);
 }