private void addToList_Click(object sender, RoutedEventArgs e)
        {
            string listName = inputDiaLog("input", true);

            if (listName != null)
            {
                var check = checkListName(listName);
                var index = operationListBox.SelectedIndex;
                if (check > -1)
                {
                    MyLists[check].songsList.Add(BigestList[index]);
                    MyLists[check].countOfList += 1;
                }
                else//tạo mới danh sách có tên== listName
                {
                    var newList = new mylist()
                    {
                        namelist    = listName,
                        songsList   = new List <songs>(),
                        countOfList = 0
                    };
                    newList.songsList.Add(BigestList[index]);
                    newList.countOfList += 1;

                    MyLists.Add(newList);
                }
            }
        }
        private void loadLists()
        {
            const string filename = "Lists.txt";
            var          reader   = new StreamReader(filename);
            var          count    = int.Parse(reader.ReadLine());

            _isPlayingMiniList = int.Parse(reader.ReadLine());
            for (int i = 0; i < count; i++)
            {
                var list = new mylist()
                {
                    namelist = reader.ReadLine(),
                };
                MyLists.Add(list);
            }
            reader.Close();
        }
        private void NewPlaylistButton_Click(object sender, RoutedEventArgs e)
        {
            // lấy input chỉ bằng một nốt nhạc
            string listName = inputDiaLog("input", true);

            if (listName != null)
            {
                var list = new mylist()
                {
                    namelist    = listName,
                    countOfList = 0,
                    songsList   = new List <songs>()
                };
                MyLists.Add(list);
                listFavouriteSong.ItemsSource = MyLists;
            }
        }