示例#1
0
 // event handler
 public void HandleWhenExceedSpeed(object sender, CarSpeedChangedEventArgs e)
 {
     Console.WriteLine("Slow down");
 }
示例#2
0
文件: Program.cs 项目: cy2296/coding
 // event handler    
 public void HandleWhenExceedSpeed(object sender, CarSpeedChangedEventArgs e)
 {
     Console.WriteLine("Slow down");
 }