public void pressShowSongs(object sender, RoutedEventArgs e)
        {
            showPlaylistSongs playlistSongs = new showPlaylistSongs(playlistID, true);

            this.Close();
            playlistSongs.Show();
        }
Exemple #2
0
        /// <summary>
        /// Handles the Click event of the Show songs button.
        /// </summary>
        private void pressOpenPlaylist(object sender, RoutedEventArgs e)
        {
            Button            button        = (Button)sender;
            int               playlistId    = (int)button.CommandParameter;
            showPlaylistSongs playlistSongs = new showPlaylistSongs(playlistId, false);

            playlistSongs.Show();
        }