public BatteryController(IBatteryView v, IBatteryModel m) { view = v; model = m; view.setChargeController(this); model.AttachIModelObserver((IModelBatteryObserver)view); view.ChangedProgressBar += new ViewBatteryHandler <IBatteryView>(this.viewChanged); Start(); }