public JointShowController(IJointShowWindow showWindow, IJointShows showModel, IJointShowEditorWindowFactory factory, IMessageShower messageShower) { _showWindow = showWindow; _showModel = showModel; _showWindow.CloseWindowRequested += showWindow_CloseWindowRequested; _showWindow.ShowRequested += showWindow_ShowRequested; _showWindow.GenerateRequested += showWindow_GenerateRequested; _showWindow.CreateJointShowRequested += showWindow_CreateJointShowRequested; _showWindow.EditShowRequested += showWindow_EditShowRequested; _showWindow.RemoveShowRequested += showWindow_RemoveShowRequested; _showWindow.CopyShowRequested += showWindow_CopyShowRequested; _editorWindowFactory = factory; _messageShower = messageShower; }
public JointShowController(IJointShowWindow showWindow, IJointShows showModel) : this(showWindow, showModel, new JointShowEditorWindowFactory(), new MessageShower()) { }