/// <summary> /// Constructs an instance of MainWindowController with handles to its view and the controllers /// </summary> /// <param name="mainWindow">Handle to the MainWindow which is the view for this controller</param> /// <param name="displayController">Handle to the controller for the displays that are hosted by the MainWindow</param> /// <param name="designController">Handle to the controller for the designs that are viewed by the MainWindow</param> public MainWindowController(IMainWindow mainWindow, IDisplayController displayController, IDesignController designController) { MainWindow = mainWindow; MainWindow.AttachMainWindowController(this); DisplayController = displayController; DesignController = designController; }