From 28af8fe24b23a958d365e40789dcf061e45056ad Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 22 九月 2023 11:25:16 +0800 Subject: [PATCH] 删除专线 --- OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Security.cs | 15 +-------------- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Security.cs b/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Security.cs index 062e4c5..056d281 100644 --- a/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Security.cs +++ b/OnPro/HDL_ON/UI/UI2/3-Intelligence/Automation/Security.cs @@ -22,25 +22,12 @@ VerticalScrolViewLayout viewLayout = new VerticalScrolViewLayout { - Y = Application.GetRealHeight(64), + Y = Application.GetRealHeight(74), Width = Application.GetRealWidth(LogicView.TextSize.view375), Height = Application.GetRealHeight(LogicView.TextSize.view667 - 64), BackgroundColor = CSS.CSS_Color.viewMiddle, }; this.AddChidren(viewLayout); - var securityList = LogicMethod.Current.GetSecurityList(); - for (int i = 0; i < securityList.Count; i++) - { - var security = securityList[i]; - LogicView.SelectTypeView securityView = new LogicView.SelectTypeView(); - securityView.btnText.Text = security.name; - securityView.btnIcon.UnSelectedImagePath = "LogicIcon/security.png"; - viewLayout.AddChidren(securityView.FLayoutView()); - securityView.btnClick.MouseUpEventHandler += (sen, e) => - { - SecurityMethod(this, security.sid); - }; - } } -- Gitblit v1.8.0