Beispiel #1
0
        public SongList()
        {
            this.InitializeComponent();

            this.DataContext = LibraryViewModel.Current;

            listRestoreHelper = new ListRestoreHelper(ZoomedInListView);

            this.Loaded += SongList_Loaded;
        }
Beispiel #2
0
        public AlbumList()
            : base()
        {
            this.InitializeComponent();

            this.DataContext = LibraryViewModel.Current;

            listRestoreHelper = new ListRestoreHelper(ZoomedInView);

            this.Loaded += AlbumList_Loaded;
        }
Beispiel #3
0
        public ArtistList()
            : base()
        {
            this.InitializeComponent();

            this.DataContext = LibraryViewModel.Current;

            this.Loaded += HandleArtistListLoaded;

            listRestoreHelper = new ListRestoreHelper(ZoomedInListView);
        }
        public Library()
        {
            this.InitializeComponent();

            this.DataContext = LibraryViewModel.Current;

            songListRestoreHelper = new ListRestoreHelper(SongsZoomedInListView, "SONGS");
            albumListRestoreHelper = new ListRestoreHelper(AlbumsZoomedInView, "ALBUMS");
            artistListRestoreHelper = new ListRestoreHelper(ArtistsZoomedInListView, "ARTISTS");

            this.SongListRoot.Loaded += HandleSongListRootLoaded;
            this.AlbumListRoot.Loaded += HandleAlbumListRootLoaded;
            this.ArtistListRoot.Loaded += HandleArtistListRootLoaded;
        }