修改站号和IP

This commit is contained in:
zhouyunhao
2024-08-14 17:26:00 +08:00
parent 26648c51d2
commit b4597def96
9 changed files with 176 additions and 111 deletions

View File

@@ -111,6 +111,10 @@
this.Sunzong = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.CodePort1 = new System.IO.Ports.SerialPort(this.components);
this.timerbar = new System.Windows.Forms.Timer(this.components);
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.button2 = new System.Windows.Forms.Button();
this.zhanhao = new System.Windows.Forms.TextBox();
this.myGroupBox4 = new C_Windows_1.MyGroupBox(this.components);
this.PUnit = new System.Windows.Forms.ComboBox();
this.label47 = new System.Windows.Forms.Label();
@@ -178,10 +182,6 @@
this.BtnCon1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.timerbar = new System.Windows.Forms.Timer(this.components);
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.button2 = new System.Windows.Forms.Button();
this.zhanhao = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.DataGridView1)).BeginInit();
this.menuStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -538,7 +538,7 @@
//
this.label18.AutoSize = true;
this.label18.Font = new System.Drawing.Font("宋体", 15F);
this.label18.Location = new System.Drawing.Point(179, 38);
this.label18.Location = new System.Drawing.Point(189, 35);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(69, 20);
this.label18.TabIndex = 70;
@@ -547,7 +547,7 @@
// Code
//
this.Code.Font = new System.Drawing.Font("宋体", 18F);
this.Code.Location = new System.Drawing.Point(254, 28);
this.Code.Location = new System.Drawing.Point(264, 28);
this.Code.Name = "Code";
this.Code.Size = new System.Drawing.Size(533, 35);
this.Code.TabIndex = 51;
@@ -785,7 +785,7 @@
//
this.Scancode.AutoSize = true;
this.Scancode.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Scancode.Location = new System.Drawing.Point(790, 38);
this.Scancode.Location = new System.Drawing.Point(800, 38);
this.Scancode.Name = "Scancode";
this.Scancode.Size = new System.Drawing.Size(90, 20);
this.Scancode.TabIndex = 144;
@@ -864,6 +864,35 @@
//
this.CodePort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.CodePort1_DataReceived_1);
//
// timerbar
//
this.timerbar.Interval = 200;
this.timerbar.Tick += new System.EventHandler(this.timerbar_Tick);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(410, 258);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(100, 23);
this.progressBar1.TabIndex = 146;
//
// button2
//
this.button2.Location = new System.Drawing.Point(925, 351);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(84, 38);
this.button2.TabIndex = 147;
this.button2.Text = "修改站号";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// zhanhao
//
this.zhanhao.Location = new System.Drawing.Point(909, 319);
this.zhanhao.Name = "zhanhao";
this.zhanhao.Size = new System.Drawing.Size(113, 21);
this.zhanhao.TabIndex = 148;
//
// myGroupBox4
//
this.myGroupBox4.Controls.Add(this.PUnit);
@@ -1433,7 +1462,7 @@
this.myGroupBox1.Font = new System.Drawing.Font("宋体", 12F);
this.myGroupBox1.Location = new System.Drawing.Point(6, 28);
this.myGroupBox1.Name = "myGroupBox1";
this.myGroupBox1.Size = new System.Drawing.Size(167, 240);
this.myGroupBox1.Size = new System.Drawing.Size(182, 240);
this.myGroupBox1.TabIndex = 119;
this.myGroupBox1.TabStop = false;
this.myGroupBox1.Text = "连接设置";
@@ -1453,7 +1482,7 @@
this.UDPResults.FormattingEnabled = true;
this.UDPResults.Location = new System.Drawing.Point(6, 48);
this.UDPResults.Name = "UDPResults";
this.UDPResults.Size = new System.Drawing.Size(153, 24);
this.UDPResults.Size = new System.Drawing.Size(170, 24);
this.UDPResults.TabIndex = 63;
//
// PortNum
@@ -1518,35 +1547,6 @@
this.label6.TabIndex = 15;
this.label6.Text = "9999";
//
// timerbar
//
this.timerbar.Interval = 200;
this.timerbar.Tick += new System.EventHandler(this.timerbar_Tick);
//
// progressBar1
//
this.progressBar1.Location = new System.Drawing.Point(410, 258);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(100, 23);
this.progressBar1.TabIndex = 146;
//
// button2
//
this.button2.Location = new System.Drawing.Point(925, 351);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(84, 38);
this.button2.TabIndex = 147;
this.button2.Text = "修改站号";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// zhanhao
//
this.zhanhao.Location = new System.Drawing.Point(909, 319);
this.zhanhao.Name = "zhanhao";
this.zhanhao.Size = new System.Drawing.Size(113, 21);
this.zhanhao.TabIndex = 148;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -1620,7 +1620,6 @@
}
#endregion
private System.Windows.Forms.Button BtnBreak;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox ReceiveText;
private System.Windows.Forms.TextBox SendText;
@@ -1765,12 +1764,13 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
private System.Windows.Forms.ComboBox UDPResults;
private System.Windows.Forms.Button TCPconnect;
private System.Windows.Forms.Timer timerbar;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.TextBox zhanhao;
public System.Windows.Forms.TextBox Code;
public System.Windows.Forms.Button BtnBreak;
public System.Windows.Forms.ComboBox UDPResults;
public System.Windows.Forms.Button TCPconnect;
}
}