| | |
| | | areaText.lineBtn.BackgroundColor = Color.WhiteColor; |
| | | areaText.textBtn.X = Application.GetRealWidth(16); |
| | | areaText.textBtn.TextID = StringId.region; |
| | | areaText.inputTextBtn.TextID = StringId.region; |
| | | areaText.inputTextBtn.Text = A31MusicModel.Current.GetRoomListName(); |
| | | |
| | | #endregion |
| | | |
| | |
| | | { |
| | | new View.TipView().InputBox(StringId.modifyName, A31MusicModel.Current.Name, StringId.nameNull, (playerName) => |
| | | { |
| | | |
| | | playNameView.inputTextBtn.Text = playerName; |
| | | A31MusicModel.Current.Name = playerName; |
| | | string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setDeviceName:" + A31MusicModel.Current.Name; |
| | |
| | | bluetoothNameView.inputTextBtn.Text = bluetoothName; |
| | | SendMethod.ModifyBluetoothName("MCU+PAS+BT" + bluetoothName.Trim() + "*&"); |
| | | }); |
| | | |
| | | }; |
| | | ///区域修改的事件 |
| | | areaText.clickBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | ///暂时隐藏 |
| | | //ChooseRoomPage chooseRoomPage = new ChooseRoomPage(A31MusicModel.Current, () => |
| | | //{ |
| | | // areaText.inputTextBtn.Text = A31MusicModel.Current.GetRoomListName(); |
| | | //}); |
| | | //MainPage.BasePageView.AddChidren(chooseRoomPage); |
| | | //chooseRoomPage.LoadPage(); |
| | | //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | |
| | | }; |
| | | ///我的喜爱事件 |
| | |
| | | string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setPlayerCmd:switchmode:line-in"; |
| | | SendMethod.SendCommand(url); |
| | | }; |
| | | |
| | | |
| | | #endregion |
| | | } |
| | | } |