public MainWindowViewModel() { DragAndDropContext = new DragAndDropContext(); DominantToolbox = new DominantToolboxViewModel(DragAndDropContext); TonicToolbox = new TonicToolboxViewModel(DragAndDropContext); PredominantToolbox = new PredominantToolboxViewModel(DragAndDropContext); MiscToolbox = new MiscToolboxViewModel(DragAndDropContext); Score = new ScoreViewModel(DragAndDropContext); }
public MainWindowViewModel() { InfoText = new InfoText(); DragAndDropContext = new DragAndDropContext(); DominantToolbox = new DominantToolboxViewModel(DragAndDropContext); TonicToolbox = new TonicToolboxViewModel(DragAndDropContext); PredominantToolbox = new PredominantToolboxViewModel(DragAndDropContext); MiscToolbox = new MiscToolboxViewModel(DragAndDropContext); KeyMajorToolbox = new KeyMajorToolboxViewModel(DragAndDropContext); KeyMinorToolbox = new KeyMinorToolboxViewModel(DragAndDropContext); Score = new ScoreViewModel(DragAndDropContext, InfoText); }