123 lines
5.1 KiB
C#
123 lines
5.1 KiB
C#
namespace SLC1_N
|
||
{
|
||
partial class Form_PLC_TCP
|
||
{
|
||
/// <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.tb_PLC_IP = new System.Windows.Forms.TextBox();
|
||
this.tb_PLC_Port = new System.Windows.Forms.TextBox();
|
||
this.bt_PLC_Connect = new System.Windows.Forms.Button();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.bt_PLC_disconnect = new System.Windows.Forms.Button();
|
||
this.SuspendLayout();
|
||
//
|
||
// tb_PLC_IP
|
||
//
|
||
this.tb_PLC_IP.Font = new System.Drawing.Font("宋体", 15F);
|
||
this.tb_PLC_IP.Location = new System.Drawing.Point(124, 52);
|
||
this.tb_PLC_IP.Name = "tb_PLC_IP";
|
||
this.tb_PLC_IP.Size = new System.Drawing.Size(212, 30);
|
||
this.tb_PLC_IP.TabIndex = 0;
|
||
//
|
||
// tb_PLC_Port
|
||
//
|
||
this.tb_PLC_Port.Font = new System.Drawing.Font("宋体", 15F);
|
||
this.tb_PLC_Port.Location = new System.Drawing.Point(124, 96);
|
||
this.tb_PLC_Port.Name = "tb_PLC_Port";
|
||
this.tb_PLC_Port.Size = new System.Drawing.Size(212, 30);
|
||
this.tb_PLC_Port.TabIndex = 0;
|
||
//
|
||
// bt_PLC_Connect
|
||
//
|
||
this.bt_PLC_Connect.Location = new System.Drawing.Point(135, 170);
|
||
this.bt_PLC_Connect.Name = "bt_PLC_Connect";
|
||
this.bt_PLC_Connect.Size = new System.Drawing.Size(152, 57);
|
||
this.bt_PLC_Connect.TabIndex = 1;
|
||
this.bt_PLC_Connect.Text = "连接";
|
||
this.bt_PLC_Connect.UseVisualStyleBackColor = true;
|
||
this.bt_PLC_Connect.Click += new System.EventHandler(this.bt_PLC_Connect_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Font = new System.Drawing.Font("宋体", 15F);
|
||
this.label1.Location = new System.Drawing.Point(64, 58);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(49, 20);
|
||
this.label1.TabIndex = 2;
|
||
this.label1.Text = "IP:";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Font = new System.Drawing.Font("宋体", 15F);
|
||
this.label2.Location = new System.Drawing.Point(44, 101);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(69, 20);
|
||
this.label2.TabIndex = 3;
|
||
this.label2.Text = "端口:";
|
||
//
|
||
// bt_PLC_disconnect
|
||
//
|
||
this.bt_PLC_disconnect.Location = new System.Drawing.Point(135, 251);
|
||
this.bt_PLC_disconnect.Name = "bt_PLC_disconnect";
|
||
this.bt_PLC_disconnect.Size = new System.Drawing.Size(152, 57);
|
||
this.bt_PLC_disconnect.TabIndex = 4;
|
||
this.bt_PLC_disconnect.Text = "断开连接";
|
||
this.bt_PLC_disconnect.UseVisualStyleBackColor = true;
|
||
this.bt_PLC_disconnect.Click += new System.EventHandler(this.bt_PLC_disconnect_Click);
|
||
//
|
||
// Form_PLC_TCP
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(417, 369);
|
||
this.Controls.Add(this.bt_PLC_disconnect);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.label1);
|
||
this.Controls.Add(this.bt_PLC_Connect);
|
||
this.Controls.Add(this.tb_PLC_Port);
|
||
this.Controls.Add(this.tb_PLC_IP);
|
||
this.Name = "Form_PLC_TCP";
|
||
this.Text = "PLC网口配置";
|
||
this.Load += new System.EventHandler(this.Form_PLC_TCP_Load);
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.TextBox tb_PLC_IP;
|
||
private System.Windows.Forms.TextBox tb_PLC_Port;
|
||
private System.Windows.Forms.Button bt_PLC_Connect;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.Button bt_PLC_disconnect;
|
||
}
|
||
} |