Example #1
0
 public void BoiledWater()
 {
     for (int i = 1; i < 101; i++)
     {
         if (i > 99)
         {
             int             temperature = i;
             BoiledEventArgs args        = new BoiledEventArgs(temperature);
             Boiled(args);
         }
     }
 }
Example #2
0
 public virtual void OnBoiled(BoiledEventArgs args)
 {
     BoiledEventHandler(this, args);
 }
Example #3
0
 private void Boiled(BoiledEventArgs args)
 {
     OnBoiled(args);
 }