コード例 #1
0
 public MainWindowViewModel(DiscChanger discChanger, LibraryManager libraryManager)
 {
     DiscChanger        = new DiscChangerViewModel(discChanger);
     TrackStatus        = new TrackStatusViewModel(discChanger, libraryManager);
     CollectionExplorer = new CollectionExplorerViewModel(libraryManager, discChanger);
     VolumeControl      = new VolumeControlViewModel(discChanger);
 }
コード例 #2
0
 public MainWindowViewModel(DiscChanger discChanger, LibraryManager libraryManager)
 {
     DiscChanger        = new DiscChangerViewModel(discChanger);
     TrackStatus        = new TrackStatusViewModel(discChanger, libraryManager);
     CollectionExplorer = new CollectionExplorerViewModel(libraryManager, discChanger);
     VolumeControl      = new VolumeControlViewModel(discChanger);
     PanelItems         = new List <PanelItem>
     {
         new PanelItem()
         {
             IconID = "Icon_Hamburger", Title = "Test Menu Item"
         },
         new PanelItem()
         {
             IconID = "Icon_Hamburger", Title = "Test Menu Item"
         },
         new PanelItem()
         {
             IconID = "Icon_Hamburger", Title = "Test Menu Item"
         },
         new PanelItem()
         {
             IconID = "HambIcon_urger", Title = "Test Menu Item"
         },
     };
 }