Ejemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     bikeSubject = new BicycleSubject(0);
     rpm         = new RPMCalc(labelRPM, bikeSubject);
     calorie     = new CalorieCalc(labelCalories, bikeSubject);
     dist        = new DistanceCalc(labelDistance, bikeSubject);
 }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     bikeSubject = new BicycleSubject(0);
     rpm = new RPMCalc(labelRPM, bikeSubject);
     calorie = new CalorieCalc(labelCalories, bikeSubject);
     dist = new DistanceCalc(labelDistance, bikeSubject);
 }