// TODO maybe we should inject the controller completly with constructor injection public ValueView(IModelView modelView, IModelController modelController) { InitializeComponent(); m_Model = modelView; m_Model.registerObserver(this); m_Controller = new RandomValueController(modelController); }