Hi all,
I 'am building a small windows form application.
I have a View - a simple form that has some functionality in it. a Controller - a class that will react to loading, saving, getting data from the model and prepare it form the view etc. a Model - a class that will get and save data to DB or file.
The controller is creating a form instance an run it, and creating a model instance when needed.
I wonder about how to react in the controller to the view events. Should I register to the view events (buttons click, combo change etc.) ? This will make the form controls visible outside the form?
Maybe I have a mistake in the design?
Thank you for the help,
Roy.