Пример #1
0
 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);
 }
Пример #2
0
 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);
 }