Ejemplo n.º 1
0
 private static void AlarmListener2(object sender, Alarm.AlarmEventArgs e)
 {
     Console.WriteLine("Alarm 2 called by " + e.Location);
 }
Ejemplo n.º 2
0
 private static void AlarmListener1(object sender, Alarm.AlarmEventArgs e)
 {
     Console.WriteLine("Alarm 1 called by " + e.Location);
     throw new Exception("boom");
 }