From a239a07d5ba48791a20af5d1b4473c61c62eb95e Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 09 七月 2024 16:04:46 +0800
Subject: [PATCH] 1
---
WFormSynchronizeData_SMR/WFormSynchronizeData_SMR/Form1.Designer.cs | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/WFormSynchronizeData_SMR/WFormSynchronizeData_SMR/Form1.Designer.cs b/WFormSynchronizeData_SMR/WFormSynchronizeData_SMR/Form1.Designer.cs
index 4486394..1ba20a9 100644
--- a/WFormSynchronizeData_SMR/WFormSynchronizeData_SMR/Form1.Designer.cs
+++ b/WFormSynchronizeData_SMR/WFormSynchronizeData_SMR/Form1.Designer.cs
@@ -30,9 +30,16 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.Timer timer1;
this.btnReadData = new System.Windows.Forms.Button();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
+ timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
+ //
+ // timer1
+ //
+ timer1.Enabled = true;
+ timer1.Interval = 15000;
+ timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// btnReadData
//
@@ -44,12 +51,6 @@
this.btnReadData.UseVisualStyleBackColor = true;
this.btnReadData.Click += new System.EventHandler(this.btnReadData_Click);
//
- // timer1
- //
- this.timer1.Enabled = true;
- this.timer1.Interval = 60000;
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
- //
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
@@ -58,6 +59,7 @@
this.Controls.Add(this.btnReadData);
this.Name = "Form1";
this.Text = "Form1";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.ResumeLayout(false);
}
@@ -65,7 +67,6 @@
#endregion
private System.Windows.Forms.Button btnReadData;
- private System.Windows.Forms.Timer timer1;
}
}
--
Gitblit v1.9.1