protected override void OnStart(IDictionary <SetType, List <Tomato> > imageSets) { var controller = new Controller(imageSets); var view = new TomatoViewer(windowSize); controller.StartApplication(view); }
/// <summary> /// Start an application based on the view. This method sets the controller and view in each object. /// </summary> /// <param name="view"></param> public void StartApplication(TomatoViewer view) { this.View = view; view.Controller = this; View.Show(); }