示例#1
0
 static void car_AboutToBlow(object sender, CarEventArgs e)
 {
     Console.WriteLine("Message from Car: {0}", e.msg);
 }
示例#2
0
 static void car_Exploded(object sender, CarEventArgs e)
 {
     Console.WriteLine("Fatal Message from Car: {0}", e.msg);
 }