From ccdff82fac4bcc1067ec806ade5ae897f1214f4d Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 01 四月 2021 14:41:53 +0800 Subject: [PATCH] 异常捕获 --- HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs index 9e17a7a..3560fd2 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddLogic.cs @@ -116,8 +116,8 @@ //push.frameLayout.Height = Application.GetRealHeight(50); //push.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); //push.btnText.TextID = StringId.push; - //push.btnNextIcon.Width = Application.GetMinRealAverage(36); - //push.btnNextIcon.Height = Application.GetMinRealAverage(36); + //push.btnNextIcon.Width = Application.GetRealWidth(36); + //push.btnNextIcon.Height = Application.GetRealWidth(36); //push.btnNextIcon.X = Application.GetRealWidth(305); //push.btnNextIcon.UnSelectedImagePath = "LogicIcon/off.png"; //push.btnNextIcon.SelectedImagePath = "LogicIcon/on.png"; @@ -128,7 +128,7 @@ //notification.btnText.TextID = StringId.notification; //viewLayout.AddChidren(notification.FLayoutView()); /////涓婁笅闂撮殧62鍍忕礌 - //viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(62) }); + //viewLayout.AddChidren(new FrameLayout { Height = Application.GetRealHeight(40) }); #endregion #region 淇濆瓨 @@ -204,7 +204,8 @@ { list.Add(logic.name); } - new LogicView.TipPopView().InputBox(StringId.editName, InpOrOutLogicMethod.GetLogicName(Logic.currlogic), StringId.nameNull, StringId.NameAlreadyExists, list, (logicName) => + new LogicView.TipPopView().InputBox(StringId.editName, InpOrOutLogicMethod.GetLogicName(Logic.currlogic), StringId.nameNull, StringId.NameAlreadyExists, list, (logicName,view + ) => { Logic.currlogic.name = logicName; Logic.currlogic.sid = LogicMethod.NewSid(); @@ -267,7 +268,7 @@ }) { IsBackground = true }.Start(); - }); + },()=> { }); } else -- Gitblit v1.8.0