//Method to show artist and their songs based on selection within SearchResults
        public void artistSelected(String name, List<Song> songs)
        {
            hideForms();

            artistView = new ArtistView(this.currentUser, this.musicPlayer);

            PlaylistModel pm = new PlaylistModel();
            List<Playlist> lp = pm.getPlaylistsForUser(currentUser.getUsername());
            artistView.setUsersPlaylists(lp);
            artistView.setupVariables(name, songs);
            artistView.createAlbums();

            artistView.TopLevel = false;
            artistView.Parent = this;
            artistView.FormBorderStyle = FormBorderStyle.None;

            picBoxBackground.Hide();

            artistView.Show();
        }
        //Method to show playlist window
        private void picBoxPlaylist_Click(object sender, EventArgs e)
        {
            hideForms();

            PlaylistModel playlistModel = new PlaylistModel();
            List<Playlist> playlistList = playlistModel.getPlaylistsForUser(currentUser.getUsername());

            playlists.currentUser = currentUser.getUsername();
            playlists.TopLevel = false;
            playlists.Parent = this;
            playlists.resetLabels();
            playlists.createLabels(playlistList);
            playlists.FormBorderStyle = FormBorderStyle.None;

            picBoxBackground.Hide();

            playlists.Show();
        }
        //Method to load search results window in child form
        private void loadSearchResults(List<Song> songs, List<String> artists, List<Playlist> playlists, String searchText)
        {
            //Clear previous search
            searchResults.resetSearch();

            //Set artist and song and playlists results from parameters
            searchResults.setSongList(songs);
            searchResults.setArtistList(artists);
            searchResults.setPlaylistList(playlists);

            //Set user's playlists
            searchResults.setCurrentUser(currentUser);

            PlaylistModel pm = new PlaylistModel();
            List<Playlist> lp = pm.getPlaylistsForUser(currentUser.getUsername());

            searchResults.setUsersPlaylists(lp);
            searchResults.createSongList(searchText);
            searchResults.createArtistList();
            searchResults.createPlaylistList();
            searchResults.addPlaylistLabels();

            picBoxBackground.Hide();

            searchResults.TopLevel = false;
            searchResults.Parent = this;
            searchResults.FormBorderStyle = FormBorderStyle.None;
            searchResults.Show();
        }