| | |
| | | |
| | | public void Show() |
| | | { |
| | | |
| | | |
| | | |
| | | #region 界面布局 |
| | | this.BackgroundColor = Color.ViewColor; |
| | |
| | | musicView.singerBtn.Text = a31player.A31PlayStatus.Artist; |
| | | musicView.songNameBtn.Text = a31player.A31PlayStatus.Title; |
| | | musicView.musicNameBtn.Text = new View.DialogView { }.NamePlayer(a31player); |
| | | musicView.regionBtn.Text = a31player.GetRoomListName(); |
| | | |
| | | if (a31player.IsEnd) { |
| | | musicView.muiscFl.Height =Application.GetRealHeight(12 + 139 + 12); |
| | | } |
| | |
| | | }; |
| | | musicView.musicIfonFl.MouseUpEventHandler += clickPlayView; |
| | | musicView.clickBtn.MouseUpEventHandler += clickPlayView;// |
| | | |
| | | musicView.singerBtn.MouseUpEventHandler += clickPlayView; |
| | | musicView.songNameBtn.MouseUpEventHandler += clickPlayView;// |
| | | musicView.musicNameBtn.MouseUpEventHandler += clickPlayView; |
| | | musicView.regionBtn.MouseUpEventHandler += clickPlayView;// |
| | | ///上一曲点击事件 |
| | | musicView.prevBtn.MouseDownEventHandler += (sender, e) => |
| | | { |
| | |
| | | { |
| | | musicView.playBtn.IsSelected = false; |
| | | } |
| | | |
| | | musicView.regionBtn.Text = a31player.GetRoomListName(); |
| | | if (a31player.collection) |
| | | { |
| | | musicView.collectIconBtn.IsSelected = true; |