| | |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor |
| | | }; |
| | | bodyFrameLayout.AddChidren(infoFL); |
| | | var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight; |
| | | infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID); |
| | | |
| | | var tipBtn = new Button |
| | | { |
| | |
| | | //标题:选择功能类型 |
| | | var title = Language.StringByID(R.MyInternationalizationString.uSelectFunctionType); |
| | | |
| | | var form = new BottomDialogSelectForm(); |
| | | var form = new BottomItemSelectForm(); |
| | | form.AddForm(title, listText, nowSelectNo); |
| | | form.FinishSelectEvent += (selectNo) => |
| | | { |
| | |
| | | CommonPage.Loading.Hide(); |
| | | if (result) |
| | | { |
| | | var alertSuccess = new Alert(Language.StringByID(R.MyInternationalizationString.TIP), Language.StringByID(R.MyInternationalizationString.Success), Language.StringByID(R.MyInternationalizationString.Confrim)); |
| | | alertSuccess.Show(); |
| | | alertSuccess.ResultEventHandler += (senderSuccess, eSuccess) => |
| | | { |
| | | //var alertSuccess = new Alert(Language.StringByID(R.MyInternationalizationString.TIP), Language.StringByID(R.MyInternationalizationString.Success), Language.StringByID(R.MyInternationalizationString.Confrim)); |
| | | //alertSuccess.Show(); |
| | | //alertSuccess.ResultEventHandler += (senderSuccess, eSuccess) => |
| | | //{ |
| | | //改房间 |
| | | Shared.Common.Room.CurrentRoom.ChangedRoom(device.CommonDevice, curRoom.Id); |
| | | device.CommonDevice.ReSave(); |
| | | RemoveFromParent(); |
| | | }; |
| | | //}; |
| | | } |
| | | else |
| | | { |