📄 form1.designer.cs
字号:
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(6, 68);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(68, 13);
this.label5.TabIndex = 3;
this.label5.Text = "Register Qty:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(6, 42);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(57, 13);
this.label4.TabIndex = 2;
this.label4.Text = "Start Addr:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(6, 16);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(51, 13);
this.label3.TabIndex = 1;
this.label3.Text = "Slave ID:";
//
// lstRegisterValues
//
this.lstRegisterValues.FormattingEnabled = true;
this.lstRegisterValues.Location = new System.Drawing.Point(233, 13);
this.lstRegisterValues.Name = "lstRegisterValues";
this.lstRegisterValues.Size = new System.Drawing.Size(256, 264);
this.lstRegisterValues.TabIndex = 2;
//
// btnStart
//
this.btnStart.Location = new System.Drawing.Point(233, 305);
this.btnStart.Name = "btnStart";
this.btnStart.Size = new System.Drawing.Size(82, 23);
this.btnStart.TabIndex = 3;
this.btnStart.Text = "Start";
this.btnStart.UseVisualStyleBackColor = true;
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// btnStop
//
this.btnStop.Location = new System.Drawing.Point(407, 305);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(82, 23);
this.btnStop.TabIndex = 4;
this.btnStop.Text = "Stop";
this.btnStop.UseVisualStyleBackColor = true;
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
//
// statusStrip
//
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStatus});
this.statusStrip.Location = new System.Drawing.Point(0, 348);
this.statusStrip.Name = "statusStrip";
this.statusStrip.Size = new System.Drawing.Size(526, 22);
this.statusStrip.TabIndex = 5;
this.statusStrip.Text = "statusStrip";
//
// lblStatus
//
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(38, 17);
this.lblStatus.Text = "Ready";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.btnWrite);
this.groupBox3.Controls.Add(this.txtWriteValue);
this.groupBox3.Controls.Add(this.txtWriteRegister);
this.groupBox3.Controls.Add(this.label9);
this.groupBox3.Controls.Add(this.label8);
this.groupBox3.Location = new System.Drawing.Point(12, 240);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(178, 98);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Write Info";
//
// btnWrite
//
this.btnWrite.Location = new System.Drawing.Point(90, 65);
this.btnWrite.Name = "btnWrite";
this.btnWrite.Size = new System.Drawing.Size(82, 23);
this.btnWrite.TabIndex = 8;
this.btnWrite.Text = "Do Write";
this.btnWrite.UseVisualStyleBackColor = true;
this.btnWrite.Click += new System.EventHandler(this.btnWrite_Click);
//
// txtWriteValue
//
this.txtWriteValue.Location = new System.Drawing.Point(90, 39);
this.txtWriteValue.Name = "txtWriteValue";
this.txtWriteValue.Size = new System.Drawing.Size(82, 20);
this.txtWriteValue.TabIndex = 7;
//
// txtWriteRegister
//
this.txtWriteRegister.Location = new System.Drawing.Point(90, 13);
this.txtWriteRegister.Name = "txtWriteRegister";
this.txtWriteRegister.Size = new System.Drawing.Size(82, 20);
this.txtWriteRegister.TabIndex = 6;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(6, 42);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(37, 13);
this.label9.TabIndex = 4;
this.label9.Text = "Value:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(6, 16);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(49, 13);
this.label8.TabIndex = 3;
this.label8.Text = "Register:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(526, 370);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.statusStrip);
this.Controls.Add(this.btnStop);
this.Controls.Add(this.btnStart);
this.Controls.Add(this.lstRegisterValues);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Modbus Poll";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.statusStrip.ResumeLayout(false);
this.statusStrip.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.ComboBox lstBaudrate;
private System.Windows.Forms.ComboBox lstPorts;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.ComboBox lstDataType;
private System.Windows.Forms.TextBox txtSampleRate;
private System.Windows.Forms.TextBox txtRegisterQty;
private System.Windows.Forms.TextBox txtStartAddr;
private System.Windows.Forms.TextBox txtSlaveID;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ListBox lstRegisterValues;
private System.Windows.Forms.Button btnStart;
private System.Windows.Forms.Button btnStop;
private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox txtWriteValue;
private System.Windows.Forms.TextBox txtWriteRegister;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Button btnWrite;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -