📄 form1.designer.cs
字号:
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.components = new System.ComponentModel.Container();
this.label1 = new System.Windows.Forms.Label();
this.BtnServer = new System.Windows.Forms.Button();
this.textPort = new System.Windows.Forms.TextBox();
this.listClient = new System.Windows.Forms.ListView();
this.label2 = new System.Windows.Forms.Label();
this.textBoxRec = new System.Windows.Forms.TextBox();
this.BtnClrRec = new System.Windows.Forms.Button();
this.textBoxSent = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.radioDec = new System.Windows.Forms.RadioButton();
this.radioHex = new System.Windows.Forms.RadioButton();
this.BtnSent = new System.Windows.Forms.Button();
this.timer100 = new System.Windows.Forms.Timer(this.components);
this.BtnClrSend = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 14);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 0;
this.label1.Text = "服务端口";
//
// BtnServer
//
this.BtnServer.Location = new System.Drawing.Point(157, 9);
this.BtnServer.Name = "BtnServer";
this.BtnServer.Size = new System.Drawing.Size(75, 23);
this.BtnServer.TabIndex = 1;
this.BtnServer.Text = "启动服务";
this.BtnServer.UseVisualStyleBackColor = true;
this.BtnServer.Click += new System.EventHandler(this.BtnServer_Click);
//
// textPort
//
this.textPort.Location = new System.Drawing.Point(69, 9);
this.textPort.Name = "textPort";
this.textPort.Size = new System.Drawing.Size(80, 21);
this.textPort.TabIndex = 2;
//
// listClient
//
this.listClient.Location = new System.Drawing.Point(12, 40);
this.listClient.Name = "listClient";
this.listClient.Size = new System.Drawing.Size(220, 288);
this.listClient.TabIndex = 3;
this.listClient.UseCompatibleStateImageBehavior = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(248, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12);
this.label2.TabIndex = 0;
this.label2.Text = "接收到数据";
//
// textBoxRec
//
this.textBoxRec.Location = new System.Drawing.Point(250, 40);
this.textBoxRec.Multiline = true;
this.textBoxRec.Name = "textBoxRec";
this.textBoxRec.Size = new System.Drawing.Size(246, 86);
this.textBoxRec.TabIndex = 5;
//
// BtnClrRec
//
this.BtnClrRec.Location = new System.Drawing.Point(336, 132);
this.BtnClrRec.Name = "BtnClrRec";
this.BtnClrRec.Size = new System.Drawing.Size(75, 23);
this.BtnClrRec.TabIndex = 6;
this.BtnClrRec.Text = "清除接收";
this.BtnClrRec.UseVisualStyleBackColor = true;
this.BtnClrRec.Click += new System.EventHandler(this.BtnClrRec_Click);
//
// textBoxSent
//
this.textBoxSent.Location = new System.Drawing.Point(250, 191);
this.textBoxSent.Multiline = true;
this.textBoxSent.Name = "textBoxSent";
this.textBoxSent.Size = new System.Drawing.Size(246, 86);
this.textBoxSent.TabIndex = 7;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(248, 166);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 0;
this.label3.Text = "发送数据";
//
// radioDec
//
this.radioDec.AutoSize = true;
this.radioDec.Checked = true;
this.radioDec.Location = new System.Drawing.Point(287, 283);
this.radioDec.Name = "radioDec";
this.radioDec.Size = new System.Drawing.Size(59, 16);
this.radioDec.TabIndex = 9;
this.radioDec.TabStop = true;
this.radioDec.Text = "十进制";
this.radioDec.UseVisualStyleBackColor = true;
//
// radioHex
//
this.radioHex.AutoSize = true;
this.radioHex.Location = new System.Drawing.Point(391, 283);
this.radioHex.Name = "radioHex";
this.radioHex.Size = new System.Drawing.Size(71, 16);
this.radioHex.TabIndex = 10;
this.radioHex.Text = "十六进制";
this.radioHex.UseVisualStyleBackColor = true;
//
// BtnSent
//
this.BtnSent.Location = new System.Drawing.Point(387, 305);
this.BtnSent.Name = "BtnSent";
this.BtnSent.Size = new System.Drawing.Size(75, 23);
this.BtnSent.TabIndex = 11;
this.BtnSent.Text = "发送";
this.BtnSent.UseVisualStyleBackColor = true;
this.BtnSent.Click += new System.EventHandler(this.BtnSent_Click);
//
// timer100
//
this.timer100.Tick += new System.EventHandler(this.timer100_Tick);
//
// BtnClrSend
//
this.BtnClrSend.Location = new System.Drawing.Point(271, 305);
this.BtnClrSend.Name = "BtnClrSend";
this.BtnClrSend.Size = new System.Drawing.Size(75, 23);
this.BtnClrSend.TabIndex = 12;
this.BtnClrSend.Text = "清除发送";
this.BtnClrSend.UseVisualStyleBackColor = true;
this.BtnClrSend.Click += new System.EventHandler(this.BtnClrSend_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(510, 339);
this.Controls.Add(this.BtnClrSend);
this.Controls.Add(this.BtnSent);
this.Controls.Add(this.radioHex);
this.Controls.Add(this.radioDec);
this.Controls.Add(this.label3);
this.Controls.Add(this.textBoxSent);
this.Controls.Add(this.BtnClrRec);
this.Controls.Add(this.textBoxRec);
this.Controls.Add(this.label2);
this.Controls.Add(this.listClient);
this.Controls.Add(this.textPort);
this.Controls.Add(this.BtnServer);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "数据接收与发送";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_Unload);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button BtnServer;
private System.Windows.Forms.TextBox textPort;
private System.Windows.Forms.ListView listClient;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBoxRec;
private System.Windows.Forms.Button BtnClrRec;
private System.Windows.Forms.TextBox textBoxSent;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.RadioButton radioDec;
private System.Windows.Forms.RadioButton radioHex;
private System.Windows.Forms.Button BtnSent;
private System.Windows.Forms.Timer timer100;
private System.Windows.Forms.Button BtnClrSend;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -