| | |
| | | musicView.singerBtn.Text = a31player.A31PlayStatus.Artist; |
| | | musicView.songNameBtn.Text = a31player.A31PlayStatus.Title; |
| | | musicView.musicNameBtn.Text = new View.DialogView { }.NamePlayer(a31player); |
| | | musicView.regionBtn.TextID = StringId.region; |
| | | musicView.regionBtn.Text = a31player.GetRoomListName(); |
| | | if (a31player.IsEnd) { |
| | | musicView.muiscFl.Height =Application.GetRealHeight(12 + 139 + 12); |
| | | } |
| | | |
| | | musicView.collectIconBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | musicView.collectIconBtn.IsSelected = !musicView.collectIconBtn.IsSelected; |
| | | if (musicView.collectIconBtn.IsSelected) |
| | | { |
| | | a31player.collection = true; |
| | | } |
| | | else |
| | | { |
| | | a31player.collection = false; |
| | | } |
| | | |
| | | }; |
| | | |
| | | EventHandler<MouseEventArgs> clickMergence = (sender, e) => |
| | | { |
| | | if (a31player.ServerClientType == 0) |
| | |
| | | { |
| | | musicView.playBtn.IsSelected = false; |
| | | } |
| | | |
| | | if (a31player.collection) |
| | | { |
| | | musicView.collectIconBtn.IsSelected = true; |
| | | } |
| | | else |
| | | { |
| | | musicView.collectIconBtn.IsSelected = false; |
| | | } |
| | | |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |