예제 #1
0
 public static void OnAlarm1(object sender, TimeArgs time)
 {
     Console.WriteLine("Ding!");
 }
예제 #2
0
 public static void OnTick1(object sender, TimeArgs time)
 {
     Console.WriteLine($"{time.Hour}:{time.Minute}:{time.Second}");
 }