Beispiel #1
0
        public DrawingTestRoot()
        {
            MusicModule = new MusicModule();
            TestScores  = new TestScores(MusicModule.ScoreBuilder);
            var resourceLoader = ResourceLoader.OfCopiedResources();

            DrawingModule = new DrawingModule(resourceLoader);
        }
Beispiel #2
0
        public DrawingVisualizeRoot()
        {
            MusicModule = new MusicModule();
            var resourceLoader = ResourceLoader.OfCopiedResources();

            DrawingModule = new DrawingModule(resourceLoader);

            Application    = new Application();
            DrawingControl = new DrawingControl();
            MainWindow     = new Window
            {
                Content = DrawingControl,
                Width   = 1200, Height = 900,
                Left    = 100, Top = 50
            };
        }