public RatingController(RatingControl ratingControl, TasksListController tasksListController) { this.control = ratingControl; this.control.TrackBarControl.Scroll += this.trackBar_Scroll; this.tasksListController = tasksListController; this.tasksListController.SelectionChanged += this.tasksListController_SelectionChanged; }