Exemple #1
0
        private void Create_PlaylistClick(object sender, RoutedEventArgs e)
        {
            var window = new CreatePlaylist();

            window.GameContainer = picker;
            window.ShowDialog();

            if (window.newList != null)
            {
                gamesLists.Lists.Add(window.newList);
            }

            playlistBox.ItemsSource = playlistDictionary;
        }
Exemple #2
0
        private void Create_PlaylistClick(object sender, RoutedEventArgs e)
        {
            var window = new CreatePlaylist {
                GameContainer = picker
            };

            window.ShowDialog();

            if (window.newList != null)
            {
                gamesLists.CustomPlaylists.Add(window.newList);
            }

            playlistBox.ItemsSource = AllPlaylists;
        }