Controller - Patch67/Graphics GitHub Wiki

Controller has an instance of both [View] and [Model].

Controller sets up the application within it's constructor and calls View.Run to start the GUI.

Controller then sits back and waits for the View to call it's various commands such as cmdOpen, cmdSave, etc.

Controller reacts to events by calling cmd methods. These commands might may amend the data by calling [Model] methods or it might interrogate the data by calling the [Model]( methods.

Controller controls what is displayed by calling routines in the [View] class.