| | |
| | | |
| | | }; |
| | | ///我的喜爱事件 |
| | | myLoveView.clickBtn.MouseUpEventHandler += (sender, e) => { |
| | | |
| | | myLoveView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | A31LoveList a31LoveList = new A31LoveList(); |
| | | MainPage.BasePageView.AddChidren(a31LoveList); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | a31LoveList.Show(); |
| | | }; |
| | | ///我的列表事件 |
| | | myListView.clickBtn.MouseUpEventHandler += (sender, e) => { |
| | | |
| | | myListView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | A31MyList a31MyList = new A31MyList(); |
| | | MainPage.BasePageView.AddChidren(a31MyList); |
| | | a31MyList.Show(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | ///本地音乐事件 |
| | | localMusicSourceView.clickBtn.MouseUpEventHandler += (sender, e) => { |
| | | |
| | | localMusicSourceView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | A31LocalMusicList a31LocalMusicList = new A31LocalMusicList(); |
| | | MainPage.BasePageView.AddChidren(a31LocalMusicList); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | a31LocalMusicList.Show(); |
| | | a31LocalMusicList.UpdateSelectedMusic(); |
| | | }; |
| | | ///USB事件 |
| | | usbSourceView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | |
| | | ///蓝牙事件 |
| | | bluetoothNameView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | this.RemoveFromParent(); |
| | | string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setPlayerCmd:switchmode:bluetooth"; |
| | | SendMethod.SendCommand(url); |
| | | }; |
| | | ///线路输入事件 |
| | | lineSourceView.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | this.RemoveFromParent(); |
| | | string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setPlayerCmd:switchmode:line-in"; |
| | | SendMethod.SendCommand(url); |
| | | }; |