public void BoilWater() { for (temperature = 0; temperature <= 100; temperature++) { if (temperature > 96) { BoiledEventArgs args = new BoiledEventArgs(temperature, "Real Fire 001", "Xi'an"); OnBoiled(args); OnBoild2(this); } } }
public virtual void OnBoiled(BoiledEventArgs args) { base.Notify(args); }