From eeb667905a9ee2d04aa9a3762c122f2c9ecd90d8 Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期二, 18 三月 2025 13:49:32 +0800 Subject: [PATCH] 隐藏按钮方法 --- WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs index 834cece..ab6b99d 100644 --- a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs +++ b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormOverview.cs @@ -1,5 +1,4 @@ -锘縰sing System.Data; -using Yw; +锘縰sing Yw; using Yw.WinFrmUI; namespace IBox.WinFrmUI @@ -7,14 +6,14 @@ public partial class IBoxFormOverview : DocumentPage { - private string startCode = "[&start&]"; - private string endCode = "[&end&]"; - private string paramCode = "[¶m&]"; - private string getbaseCode = "getbase"; - private string getrealrecordCode = "getrealrecord"; - private string gethistoryrecordCode = "gethistoryrecord"; - private string getalarmbydayCode = "getalarmbyday"; - private string getbysignalidofdayrangeCode = "getbysignalidofdayrange"; + //private string startCode = "[&start&]"; + //private string endCode = "[&end&]"; + //private string paramCode = "[¶m&]"; + //private string getbaseCode = "getbase"; + //private string getrealrecordCode = "getrealrecord"; + //private string gethistoryrecordCode = "gethistoryrecord"; + //private string getalarmbydayCode = "getalarmbyday"; + //private string getbysignalidofdayrangeCode = "getbysignalidofdayrange"; //Stopwatch sw = new Stopwatch(); //string swstr=string.Empty; @@ -35,7 +34,7 @@ private void EboxForm_Load(object sender, EventArgs e) { Thread.Sleep(500); - SendText(startCode + getbaseCode + paramCode + endCode); + SendText(IBoxHelper.startCode + IBoxHelper.getbaseCode + IBoxHelper.paramCode + IBoxHelper.endCode); } -- Gitblit v1.9.3