📄 form1.designer.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.listView_Dev = new System.Windows.Forms.ListView();
this.label1 = new System.Windows.Forms.Label();
this.textBox_Name = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBox_Parity = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.textBox_StopB = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.textBox_DataB = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.textBox_Baud = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.textBox_Workport = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.textBox_Worktype = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.colip = new System.Windows.Forms.ColumnHeader();
this.coltype = new System.Windows.Forms.ColumnHeader();
this.colmac = new System.Windows.Forms.ColumnHeader();
this.colport = new System.Windows.Forms.ColumnHeader();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(88, 27);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(92, 23);
this.button1.TabIndex = 0;
this.button1.Text = "广播搜索";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(223, 27);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(99, 23);
this.button2.TabIndex = 0;
this.button2.Text = "获取详细信息";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(359, 27);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(92, 23);
this.button3.TabIndex = 0;
this.button3.Text = "提交更改";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// listView_Dev
//
this.listView_Dev.AutoArrange = false;
this.listView_Dev.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.colip,
this.coltype,
this.colmac,
this.colport});
this.listView_Dev.FullRowSelect = true;
this.listView_Dev.HideSelection = false;
this.listView_Dev.Location = new System.Drawing.Point(12, 70);
this.listView_Dev.MultiSelect = false;
this.listView_Dev.Name = "listView_Dev";
this.listView_Dev.Size = new System.Drawing.Size(381, 341);
this.listView_Dev.TabIndex = 1;
this.listView_Dev.UseCompatibleStateImageBehavior = false;
this.listView_Dev.View = System.Windows.Forms.View.Details;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(410, 80);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 12);
this.label1.TabIndex = 2;
this.label1.Text = "名称:";
//
// textBox_Name
//
this.textBox_Name.Location = new System.Drawing.Point(457, 77);
this.textBox_Name.Name = "textBox_Name";
this.textBox_Name.Size = new System.Drawing.Size(100, 21);
this.textBox_Name.TabIndex = 3;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.textBox_Parity);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.textBox_StopB);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.textBox_DataB);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.textBox_Baud);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.textBox_Workport);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.textBox_Worktype);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Location = new System.Drawing.Point(403, 107);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(176, 198);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "串口1参数";
//
// textBox_Parity
//
this.textBox_Parity.Location = new System.Drawing.Point(72, 164);
this.textBox_Parity.Name = "textBox_Parity";
this.textBox_Parity.Size = new System.Drawing.Size(82, 21);
this.textBox_Parity.TabIndex = 5;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(19, 167);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(47, 12);
this.label7.TabIndex = 4;
this.label7.Text = "校验位:";
//
// textBox_StopB
//
this.textBox_StopB.Location = new System.Drawing.Point(72, 137);
this.textBox_StopB.Name = "textBox_StopB";
this.textBox_StopB.Size = new System.Drawing.Size(82, 21);
this.textBox_StopB.TabIndex = 5;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(19, 140);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(47, 12);
this.label6.TabIndex = 4;
this.label6.Text = "停止位:";
//
// textBox_DataB
//
this.textBox_DataB.Location = new System.Drawing.Point(72, 110);
this.textBox_DataB.Name = "textBox_DataB";
this.textBox_DataB.Size = new System.Drawing.Size(82, 21);
this.textBox_DataB.TabIndex = 5;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(19, 113);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(47, 12);
this.label5.TabIndex = 4;
this.label5.Text = "数据位:";
//
// textBox_Baud
//
this.textBox_Baud.Location = new System.Drawing.Point(72, 83);
this.textBox_Baud.Name = "textBox_Baud";
this.textBox_Baud.Size = new System.Drawing.Size(82, 21);
this.textBox_Baud.TabIndex = 5;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(19, 86);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(47, 12);
this.label4.TabIndex = 4;
this.label4.Text = "波特率:";
//
// textBox_Workport
//
this.textBox_Workport.Location = new System.Drawing.Point(72, 56);
this.textBox_Workport.Name = "textBox_Workport";
this.textBox_Workport.Size = new System.Drawing.Size(82, 21);
this.textBox_Workport.TabIndex = 5;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(7, 59);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(59, 12);
this.label3.TabIndex = 4;
this.label3.Text = "工作端口:";
//
// textBox_Worktype
//
this.textBox_Worktype.Location = new System.Drawing.Point(72, 29);
this.textBox_Worktype.Name = "textBox_Worktype";
this.textBox_Worktype.Size = new System.Drawing.Size(82, 21);
this.textBox_Worktype.TabIndex = 5;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(7, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 12);
this.label2.TabIndex = 4;
this.label2.Text = "工作方式:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(399, 328);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(197, 36);
this.label8.TabIndex = 5;
this.label8.Text = "注:更改参数时不要填入空字符串。\r\n关于更多配置参数的信息,请查看\r\n《ZNetAdv配置函数库使用手册》。";
//
// colip
//
this.colip.Text = "IP";
this.colip.Width = 80;
//
// coltype
//
this.coltype.Text = "型号";
this.coltype.Width = 80;
//
// colmac
//
this.colmac.Text = "MAC";
this.colmac.Width = 100;
//
// colport
//
this.colport.Text = "TCP端口";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(597, 423);
this.Controls.Add(this.label8);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.textBox_Name);
this.Controls.Add(this.label1);
this.Controls.Add(this.listView_Dev);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Button button1;
private Button button2;
private Button button3;
private ListView listView_Dev;
private Label label1;
private TextBox textBox_Name;
private GroupBox groupBox1;
private TextBox textBox_Parity;
private Label label7;
private TextBox textBox_StopB;
private Label label6;
private TextBox textBox_DataB;
private Label label5;
private TextBox textBox_Baud;
private Label label4;
private TextBox textBox_Workport;
private Label label3;
private TextBox textBox_Worktype;
private Label label2;
private Label label8;
private ColumnHeader colip;
private ColumnHeader coltype;
internal ColumnHeader colmac;
private ColumnHeader colport;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -