//打开一个文件夹
        private void OpenFolder()
        {
            FolderBrowserDialog folder = new FolderBrowserDialog();

            folder.Description = "选择要打开的文件夹";
            if (folder.ShowDialog() == DialogResult.OK)
            {
                var selectedPlayList = PlayLists.Where(i => i.IsSelected == true).First();
                var playList         = selectedPlayList.PlayList;
                PlayListService.CleanMusic(playList);
                PlayListService.AddMusic(playList, OpenMusicService.OpenFolder(folder.SelectedPath));
                InitMusicList(selectedPlayList);
            }
        }
        /// <summary>
        /// 打开一首音乐
        /// </summary>
        private void OpenMusic()
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.Filter          = "所有支持的文件|*.mp3;*.wav|mp3|*.mp3|wav|*.wav";
            ofd.ValidateNames   = true;
            ofd.CheckPathExists = true;
            ofd.CheckFileExists = true;
            ofd.Multiselect     = false;
            if (ofd.ShowDialog() == DialogResult.OK)
            {
                var selectedPlayList = PlayLists.Where(i => i.IsSelected == true).First();
                var playList         = selectedPlayList.PlayList;
                PlayListService.CleanMusic(playList);
                PlayListService.AddMusic(playList, OpenMusicService.OpenMusic(ofd.FileName));
                InitMusicList(selectedPlayList);
            }
        }