From 01685f3ab68f64b51b83eee40af90f4030866691 Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期二, 03 六月 2025 18:18:21 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- LMES/XiaoZhuGe_autoGetData.Designer.cs | 34 +++++++++++++++++++++++----------- 1 files changed, 23 insertions(+), 11 deletions(-) diff --git a/LMES/XiaoZhuGe_autoGetData.Designer.cs b/LMES/XiaoZhuGe_autoGetData.Designer.cs index ff58e8a..e572c42 100644 --- a/LMES/XiaoZhuGe_autoGetData.Designer.cs +++ b/LMES/XiaoZhuGe_autoGetData.Designer.cs @@ -29,25 +29,35 @@ /// </summary> private void InitializeComponent() { - this.button1 = new System.Windows.Forms.Button(); + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XiaoZhuGe_autoGetData)); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.timer2 = new System.Windows.Forms.Timer(this.components); + this.notifyIcon_Icon = new System.Windows.Forms.NotifyIcon(this.components); this.SuspendLayout(); // - // button1 + // timer1 // - this.button1.Location = new System.Drawing.Point(35, 22); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(105, 52); - this.button1.TabIndex = 0; - this.button1.Text = "button1"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // timer2 + // + this.timer2.Enabled = true; + this.timer2.Interval = 300000; + this.timer2.Tick += new System.EventHandler(this.timer2_Tick); + // + // notifyIcon_Icon + // + this.notifyIcon_Icon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon_Icon.Icon"))); + this.notifyIcon_Icon.Text = "LMES"; + this.notifyIcon_Icon.Visible = true; + this.notifyIcon_Icon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon_Icon_MouseDoubleClick); // // XiaoZhuGe_autoGetData // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.button1); this.Name = "XiaoZhuGe_autoGetData"; this.Text = "XiaoZhuGe_autoGetData"; this.ResumeLayout(false); @@ -56,6 +66,8 @@ #endregion - private System.Windows.Forms.Button button1; + private System.Windows.Forms.Timer timer1; + private System.Windows.Forms.NotifyIcon notifyIcon_Icon; + private System.Windows.Forms.Timer timer2; } } \ No newline at end of file -- Gitblit v1.9.1