摘要: // 热水器 public class Heater { private int temperature; public string type = "RealFire 001"; // 添加型号作为演示 public string area = "China Xian"; // 添加产地作为演示 //声明委托 public delegate void BoiledEventHandler(Object sender, BoiledEventArgs e); public event BoiledEventHandler Boiled; //声明事件 / 阅读全文
posted @ 2012-02-27 14:14 初雪之恋 阅读(457) 评论(0) 推荐(0) 编辑