public MainWindowVM( IBottomPanelVM bottomPanelVM, ICentralPanelVM centralPanelVM, ITotalCounterVM totalCounterVM, IInputController inputController) { BottomPanelVM = bottomPanelVM; CentralPanelVM = centralPanelVM; CentralPanelVM.ItemsPositionChanged += RequestScrollDown; TotalCounterVM = totalCounterVM; this.inputController = inputController; }
public InputController( ICentralPanelVM centralPanelVM, ITimer timer, IMainRepository mainRepository, DailyTimeCalculation dailyTimeCalculation, ITotalCounterVM totalCounterVM, IBottomPanelVM bottomPanelVM) { this.centralPanelVM = centralPanelVM; this.timer = timer; this.mainRepository = mainRepository; this.dailyTimeCalculation = dailyTimeCalculation; this.totalCounterVM = totalCounterVM; this.bottomPanelVM = bottomPanelVM; this.bottomPanelVM.UserInputReceived += HandleUserInput; this.centralPanelVM.NoteCommandReceived += HandleNoteCommand; }