Beispiel #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);
         }
     }
 }
Beispiel #2
0
 public virtual void OnBoiled(BoiledEventArgs args)
 {
     BoiledEventHandler(this, args);
 }
Beispiel #3
0
 private void Boiled(BoiledEventArgs args)
 {
     OnBoiled(args);
 }