📄 form1.designer.cs
字号:
namespace Modbus_Poll_CS
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lstBaudrate = new System.Windows.Forms.ComboBox();
this.lstPorts = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label7 = new System.Windows.Forms.Label();
this.lstDataType = new System.Windows.Forms.ComboBox();
this.txtSampleRate = new System.Windows.Forms.TextBox();
this.txtRegisterQty = new System.Windows.Forms.TextBox();
this.txtStartAddr = new System.Windows.Forms.TextBox();
this.txtSlaveID = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.lstRegisterValues = new System.Windows.Forms.ListBox();
this.btnStart = new System.Windows.Forms.Button();
this.btnStop = new System.Windows.Forms.Button();
this.statusStrip = new System.Windows.Forms.StatusStrip();
this.lblStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.btnWrite = new System.Windows.Forms.Button();
this.txtWriteValue = new System.Windows.Forms.TextBox();
this.txtWriteRegister = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.statusStrip.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.lstBaudrate);
this.groupBox1.Controls.Add(this.lstPorts);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(178, 68);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Port Info";
//
// lstBaudrate
//
this.lstBaudrate.FormattingEnabled = true;
this.lstBaudrate.Location = new System.Drawing.Point(90, 40);
this.lstBaudrate.Name = "lstBaudrate";
this.lstBaudrate.Size = new System.Drawing.Size(82, 21);
this.lstBaudrate.TabIndex = 3;
//
// lstPorts
//
this.lstPorts.FormattingEnabled = true;
this.lstPorts.Location = new System.Drawing.Point(90, 13);
this.lstPorts.Name = "lstPorts";
this.lstPorts.Size = new System.Drawing.Size(82, 21);
this.lstPorts.TabIndex = 2;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 43);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 13);
this.label2.TabIndex = 1;
this.label2.Text = "Baudrate:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Port:";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.lstDataType);
this.groupBox2.Controls.Add(this.txtSampleRate);
this.groupBox2.Controls.Add(this.txtRegisterQty);
this.groupBox2.Controls.Add(this.txtStartAddr);
this.groupBox2.Controls.Add(this.txtSlaveID);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Location = new System.Drawing.Point(12, 87);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(178, 147);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Poll Info";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(6, 120);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(60, 13);
this.label7.TabIndex = 10;
this.label7.Text = "Data Type:";
//
// lstDataType
//
this.lstDataType.FormattingEnabled = true;
this.lstDataType.Location = new System.Drawing.Point(90, 117);
this.lstDataType.Name = "lstDataType";
this.lstDataType.Size = new System.Drawing.Size(82, 21);
this.lstDataType.TabIndex = 9;
this.lstDataType.SelectedIndexChanged += new System.EventHandler(this.lstDataType_SelectedIndexChanged);
//
// txtSampleRate
//
this.txtSampleRate.Location = new System.Drawing.Point(90, 91);
this.txtSampleRate.Name = "txtSampleRate";
this.txtSampleRate.Size = new System.Drawing.Size(82, 20);
this.txtSampleRate.TabIndex = 8;
//
// txtRegisterQty
//
this.txtRegisterQty.Location = new System.Drawing.Point(90, 65);
this.txtRegisterQty.Name = "txtRegisterQty";
this.txtRegisterQty.Size = new System.Drawing.Size(82, 20);
this.txtRegisterQty.TabIndex = 7;
//
// txtStartAddr
//
this.txtStartAddr.Location = new System.Drawing.Point(90, 39);
this.txtStartAddr.Name = "txtStartAddr";
this.txtStartAddr.Size = new System.Drawing.Size(82, 20);
this.txtStartAddr.TabIndex = 6;
//
// txtSlaveID
//
this.txtSlaveID.Location = new System.Drawing.Point(90, 13);
this.txtSlaveID.Name = "txtSlaveID";
this.txtSlaveID.Size = new System.Drawing.Size(82, 20);
this.txtSlaveID.TabIndex = 5;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(6, 94);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(71, 13);
this.label6.TabIndex = 4;
this.label6.Text = "Sample Rate:";
//
// label5
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -