| | |
| | | /// </summary> |
| | | static void clearA31Threads() |
| | | { |
| | | |
| | | var threads = threadLists.FindAll((obj) => { return obj.Name == "A31"; }); |
| | | foreach (var thread in threads) |
| | | { |
| | |
| | | { |
| | | try |
| | | { |
| | | |
| | | SendMethod.mMethod.RefreshDeviceStatus(new List<string> { a31player.functionMusic.deviceId }); |
| | | System.Threading.Thread.Sleep(500); |
| | | } |
| | |
| | | musicView.singerBtn.Text = player.functionMusic.GetAttrState(KeyProperty.song_name); |
| | | musicView.songNameBtn.Text = player.functionMusic.GetAttrState(KeyProperty.song_name); |
| | | musicView.musicNameBtn.Text = player.functionMusic.name; |
| | | |
| | | musicView.collectIconBtn.Visible = false;//先暂时隐藏收藏功能 |
| | | ///收藏事件 |
| | | musicView.collectIconBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | |
| | | musicView.musicNameBtn.Text = player.functionMusic.name; |
| | | if (player.functionMusic.GetAttrState(KeyProperty.on_off) == ValueProperty.on) |
| | | { |
| | | |
| | | musicView.playBtn.IsSelected = true; |
| | | } |
| | | else |