From 0e4ad9a4de5b95f58daf1a6c5072c6a57cf223f9 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 30 十二月 2019 10:02:10 +0800 Subject: [PATCH] 2019.12.30 --- ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs | 34 ++++++++++++++++++---------------- 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs index f99c5f9..b696113 100644 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs @@ -162,6 +162,8 @@ BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor }; bodyFrameLayout.AddChidren(infoFL); + var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight; + infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID); var tipBtn = new Button { @@ -250,7 +252,7 @@ //鏍囬:閫夋嫨鍔熻兘绫诲瀷 var title = Language.StringByID(R.MyInternationalizationString.uSelectFunctionType); - var form = new BottomDialogSelectForm(); + var form = new BottomItemSelectForm(); form.AddForm(title, listText, nowSelectNo); form.FinishSelectEvent += (selectNo) => { @@ -272,19 +274,19 @@ }; }; - sharedRow = new DeviceInfoRow(723); - sharedRow.Init(); - sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); - sharedRow.SetTitle("2浜�"); - infoFL.AddChidren(sharedRow); + //sharedRow = new DeviceInfoRow(723); + //sharedRow.Init(); + //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); + //sharedRow.SetTitle("2浜�"); + //infoFL.AddChidren(sharedRow); } else { - sharedRow = new DeviceInfoRow(585); - sharedRow.Init(); - sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); - sharedRow.SetTitle("2浜�"); - infoFL.AddChidren(sharedRow); + //sharedRow = new DeviceInfoRow(585); + //sharedRow.Init(); + //sharedRow.SetTipTitle($"{Language.StringByID(R.MyInternationalizationString.Share)} : "); + //sharedRow.SetTitle("2浜�"); + //infoFL.AddChidren(sharedRow); } var confirmBtn = new CommonForm.CompleteButton(962, 907, 127); @@ -405,15 +407,15 @@ 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 { -- Gitblit v1.8.0