|
|
|
|
namespace Diaoyong
|
|
|
|
|
{
|
|
|
|
|
partial class ConnectionTest
|
|
|
|
|
{
|
|
|
|
|
/// <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 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.clientIP1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.ClientPort = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.test = new System.Windows.Forms.Button();
|
|
|
|
|
this.ok = new System.Windows.Forms.Button();
|
|
|
|
|
this.clientIP2 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.clientIP3 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.clientIP4 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
this.label1.AutoSize = true;
|
|
|
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.label1.Location = new System.Drawing.Point(79, 42);
|
|
|
|
|
this.label1.Name = "label1";
|
|
|
|
|
this.label1.Size = new System.Drawing.Size(125, 31);
|
|
|
|
|
this.label1.TabIndex = 0;
|
|
|
|
|
this.label1.Text = "Client IP:";
|
|
|
|
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
this.label2.AutoSize = true;
|
|
|
|
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.label2.Location = new System.Drawing.Point(79, 97);
|
|
|
|
|
this.label2.Name = "label2";
|
|
|
|
|
this.label2.Size = new System.Drawing.Size(149, 31);
|
|
|
|
|
this.label2.TabIndex = 1;
|
|
|
|
|
this.label2.Text = "Client Port:";
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
this.label4.AutoSize = true;
|
|
|
|
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.label4.Location = new System.Drawing.Point(79, 205);
|
|
|
|
|
this.label4.Name = "label4";
|
|
|
|
|
this.label4.Size = new System.Drawing.Size(0, 31);
|
|
|
|
|
this.label4.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// clientIP1
|
|
|
|
|
//
|
|
|
|
|
this.clientIP1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.clientIP1.Location = new System.Drawing.Point(291, 38);
|
|
|
|
|
this.clientIP1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.clientIP1.MaxLength = 3;
|
|
|
|
|
this.clientIP1.Name = "clientIP1";
|
|
|
|
|
this.clientIP1.Size = new System.Drawing.Size(58, 38);
|
|
|
|
|
this.clientIP1.TabIndex = 4;
|
|
|
|
|
this.clientIP1.TextChanged += new System.EventHandler(this.clientIP1_TextChanged);
|
|
|
|
|
this.clientIP1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.clientIP1_KeyPress);
|
|
|
|
|
//
|
|
|
|
|
// ClientPort
|
|
|
|
|
//
|
|
|
|
|
this.ClientPort.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.ClientPort.Location = new System.Drawing.Point(291, 92);
|
|
|
|
|
this.ClientPort.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.ClientPort.MaxLength = 4;
|
|
|
|
|
this.ClientPort.Name = "ClientPort";
|
|
|
|
|
this.ClientPort.Size = new System.Drawing.Size(248, 38);
|
|
|
|
|
this.ClientPort.TabIndex = 6;
|
|
|
|
|
this.ClientPort.TextChanged += new System.EventHandler(this.ClientPort_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// test
|
|
|
|
|
//
|
|
|
|
|
this.test.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.test.Location = new System.Drawing.Point(118, 178);
|
|
|
|
|
this.test.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.test.Name = "test";
|
|
|
|
|
this.test.Size = new System.Drawing.Size(142, 39);
|
|
|
|
|
this.test.TabIndex = 8;
|
|
|
|
|
this.test.Text = "TEST";
|
|
|
|
|
this.test.UseVisualStyleBackColor = true;
|
|
|
|
|
this.test.Click += new System.EventHandler(this.test_Click);
|
|
|
|
|
//
|
|
|
|
|
// ok
|
|
|
|
|
//
|
|
|
|
|
this.ok.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.ok.Location = new System.Drawing.Point(327, 178);
|
|
|
|
|
this.ok.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.ok.Name = "ok";
|
|
|
|
|
this.ok.Size = new System.Drawing.Size(148, 39);
|
|
|
|
|
this.ok.TabIndex = 9;
|
|
|
|
|
this.ok.Text = "OK";
|
|
|
|
|
this.ok.UseVisualStyleBackColor = true;
|
|
|
|
|
this.ok.Click += new System.EventHandler(this.ok_Click);
|
|
|
|
|
//
|
|
|
|
|
// clientIP2
|
|
|
|
|
//
|
|
|
|
|
this.clientIP2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.clientIP2.Location = new System.Drawing.Point(354, 38);
|
|
|
|
|
this.clientIP2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.clientIP2.MaxLength = 3;
|
|
|
|
|
this.clientIP2.Name = "clientIP2";
|
|
|
|
|
this.clientIP2.Size = new System.Drawing.Size(58, 38);
|
|
|
|
|
this.clientIP2.TabIndex = 10;
|
|
|
|
|
this.clientIP2.TextChanged += new System.EventHandler(this.clientIP2_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// clientIP3
|
|
|
|
|
//
|
|
|
|
|
this.clientIP3.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.clientIP3.Location = new System.Drawing.Point(417, 38);
|
|
|
|
|
this.clientIP3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.clientIP3.MaxLength = 3;
|
|
|
|
|
this.clientIP3.Name = "clientIP3";
|
|
|
|
|
this.clientIP3.Size = new System.Drawing.Size(58, 38);
|
|
|
|
|
this.clientIP3.TabIndex = 11;
|
|
|
|
|
this.clientIP3.TextChanged += new System.EventHandler(this.clientIP3_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// clientIP4
|
|
|
|
|
//
|
|
|
|
|
this.clientIP4.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F);
|
|
|
|
|
this.clientIP4.Location = new System.Drawing.Point(480, 38);
|
|
|
|
|
this.clientIP4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
|
|
this.clientIP4.MaxLength = 3;
|
|
|
|
|
this.clientIP4.Name = "clientIP4";
|
|
|
|
|
this.clientIP4.Size = new System.Drawing.Size(58, 38);
|
|
|
|
|
this.clientIP4.TabIndex = 12;
|
|
|
|
|
this.clientIP4.TextChanged += new System.EventHandler(this.clientIP4_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
this.label3.AutoSize = true;
|
|
|
|
|
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.label3.Location = new System.Drawing.Point(80, 141);
|
|
|
|
|
this.label3.Name = "label3";
|
|
|
|
|
this.label3.Size = new System.Drawing.Size(98, 31);
|
|
|
|
|
this.label3.TabIndex = 13;
|
|
|
|
|
this.label3.Text = "状态:";
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(291, 134);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(247, 38);
|
|
|
|
|
this.label5.TabIndex = 14;
|
|
|
|
|
//
|
|
|
|
|
// ConnectionTest
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(625, 232);
|
|
|
|
|
this.Controls.Add(this.label5);
|
|
|
|
|
this.Controls.Add(this.label3);
|
|
|
|
|
this.Controls.Add(this.clientIP4);
|
|
|
|
|
this.Controls.Add(this.clientIP3);
|
|
|
|
|
this.Controls.Add(this.clientIP2);
|
|
|
|
|
this.Controls.Add(this.ok);
|
|
|
|
|
this.Controls.Add(this.test);
|
|
|
|
|
this.Controls.Add(this.ClientPort);
|
|
|
|
|
this.Controls.Add(this.clientIP1);
|
|
|
|
|
this.Controls.Add(this.label4);
|
|
|
|
|
this.Controls.Add(this.label2);
|
|
|
|
|
this.Controls.Add(this.label1);
|
|
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
|
|
this.Name = "ConnectionTest";
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
|
private System.Windows.Forms.Label label2;
|
|
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
|
|
private System.Windows.Forms.TextBox clientIP1;
|
|
|
|
|
private System.Windows.Forms.TextBox ClientPort;
|
|
|
|
|
private System.Windows.Forms.Button test;
|
|
|
|
|
private System.Windows.Forms.Button ok;
|
|
|
|
|
private System.Windows.Forms.TextBox clientIP2;
|
|
|
|
|
private System.Windows.Forms.TextBox clientIP3;
|
|
|
|
|
private System.Windows.Forms.TextBox clientIP4;
|
|
|
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
private System.Windows.Forms.Label label5;
|
|
|
|
|
}
|
|
|
|
|
}
|