예제 #1
0
 public void WriteLogEntry(object theClock, TimeInfoEventArgs ti)
 {
     Console.WriteLine("Logging to file: {0}:{1}:{2}", ti.hour.ToString(), ti.minute.ToString(), ti.second.ToString());
     Console.WriteLine();
 }
예제 #2
0
 public void TimeHasChanged(object theClock, TimeInfoEventArgs ti)
 {
     Console.WriteLine("Current Time: {0}:{1}:{2}", ti.hour.ToString(), ti.minute.ToString(), ti.second.ToString());
 }