public MainWindow()
        {
            InitializeComponent();
            try
            {
                lstSongs.ItemsSource = this.playlist.Songs;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.StackTrace, ex.Message);
            }

            player = new MusicPlayer(playlist);
            player.SongChanged += new SongChangedEventHandler(player_SongChanged);
            SetBindings();
        }
        private void btnAddFolder_Click(object sender, RoutedEventArgs e)
        {
            System.Windows.Forms.FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog();
            if(folderBrowserDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                try
                {
                    this.playlist = new Playlist(folderBrowserDialog.SelectedPath);

                    lstSongs.ItemsSource = playlist.Songs;
                    player = new MusicPlayer(playlist);
                    player.SongChanged += new SongChangedEventHandler(player_SongChanged);
                    lstSongs.Items.Refresh();
                    SetBindings();
                }
                catch (Exception ex)
                {
                    MessageBox.Show(ex.Message);
                }
            }
        }