From 7232642ff48a7fbde2018cde652f3e771fa58025 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 27 一月 2021 14:32:55 +0800 Subject: [PATCH] 20200127-英文版处理 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs new file mode 100755 index 0000000..1ad98aa --- /dev/null +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs @@ -0,0 +1,45 @@ +锘縰sing System; +using Shared; +namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView +{ + public class LogicAddView + { + /// <summary> + /// 涓绘帶浠� + /// </summary> + public FrameLayout frameLayout = new FrameLayout + { + Height = Application.GetRealHeight(80), + Width = Application.GetRealWidth(343), + BackgroundColor = CSS.CSS_Color.view, + X = Application.GetRealWidth(LogicView.TextSize.left16), + }; + /// <summary> + /// 娣诲姞璁惧绫诲瀷鐨勫浘鏍囨帶浠� + /// </summary> + public Button btnAddIcon= new Button + { + Width = Application.GetRealWidth(20), + Height = Application.GetRealWidth(20), + UnSelectedImagePath = "LogicIcon/addconditiontarget.png", + Y = Application.GetRealHeight(22), + X = Application.GetRealWidth(162), + }; + public Button btnClick = new Button + { + Height = Application.GetRealHeight(80), + Width = Application.GetRealWidth(343), + }; + + /// <summary> + /// 杩斿洖鐖舵帶浠剁殑鏂规硶 + /// </summary> + /// <returns></returns> + public FrameLayout FLayoutView() + { + frameLayout.AddChidren(btnAddIcon); + frameLayout.AddChidren(btnClick); + return frameLayout; + } + } +} -- Gitblit v1.8.0