Esempio n. 1
0
 static void Clock_Alarm(object sender, Time time)
 {
     Console.WriteLine("时间到了,该做事情了");
 }
Esempio n. 2
0
 static void Clock_Tick(object sender, Time time)
 {
     Console.WriteLine("现在是{0}:{1}:{2}", time.Hour, time.Minute, time.Second);
 }