mirror of
https://github.com/ClassicDIY/ModbusTool.git
synced 2026-10-26 18:39:29 +08:00
manually restored pollTimer, designer deleted it!
This commit is contained in:
Generated
+7
@@ -24,6 +24,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MasterForm));
|
||||
this.groupBoxFunctions = new System.Windows.Forms.GroupBox();
|
||||
this.txtPollDelay = new System.Windows.Forms.TextBox();
|
||||
@@ -38,6 +39,7 @@
|
||||
this.btnWriteSingleCoil = new System.Windows.Forms.Button();
|
||||
this.buttonDisconnect = new System.Windows.Forms.Button();
|
||||
this.btnConnect = new System.Windows.Forms.Button();
|
||||
this.pollTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.grpStart.SuspendLayout();
|
||||
@@ -204,6 +206,11 @@
|
||||
this.btnConnect.Text = "Connect";
|
||||
this.btnConnect.Click += new System.EventHandler(this.BtnConnectClick);
|
||||
//
|
||||
// pollTimer
|
||||
//
|
||||
this.pollTimer.Interval = 2000;
|
||||
this.pollTimer.Tick += new System.EventHandler(this.pollTimer_Tick);
|
||||
//
|
||||
// MasterForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
||||
Reference in New Issue
Block a user