285 lines
15 KiB
C#
285 lines
15 KiB
C#
namespace SocketReceive
|
|
{
|
|
partial class Receiver
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Receiver));
|
|
this.BtnListen = new System.Windows.Forms.Button();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.propertyGrid2 = new System.Windows.Forms.PropertyGrid();
|
|
this.socketor1 = new SocketReceive.Socketor();
|
|
this.textBoxIP = new System.Windows.Forms.TextBox();
|
|
this.textBoxPort = new System.Windows.Forms.TextBox();
|
|
this.socketor2 = new SocketReceive.Socketor();
|
|
this.socketor3 = new SocketReceive.Socketor();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// BtnListen
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.BtnListen, 2);
|
|
this.BtnListen.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.BtnListen.Location = new System.Drawing.Point(351, 680);
|
|
this.BtnListen.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.BtnListen.Name = "BtnListen";
|
|
this.BtnListen.Size = new System.Drawing.Size(160, 30);
|
|
this.BtnListen.TabIndex = 1;
|
|
this.BtnListen.Text = "监听";
|
|
this.BtnListen.UseVisualStyleBackColor = true;
|
|
this.BtnListen.Click += new System.EventHandler(this.BtnListen_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label2.Location = new System.Drawing.Point(351, 0);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(99, 33);
|
|
this.label2.TabIndex = 10;
|
|
this.label2.Text = "Port:";
|
|
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.label1.Location = new System.Drawing.Point(4, 0);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(99, 33);
|
|
this.label1.TabIndex = 9;
|
|
this.label1.Text = "IP:";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// propertyGrid1
|
|
//
|
|
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.propertyGrid1.LineColor = System.Drawing.SystemColors.ControlDark;
|
|
this.propertyGrid1.Location = new System.Drawing.Point(4, 22);
|
|
this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.propertyGrid1.Name = "propertyGrid1";
|
|
this.propertyGrid1.Size = new System.Drawing.Size(499, 579);
|
|
this.propertyGrid1.TabIndex = 11;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tableLayoutPanel1.ColumnCount = 4;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 107F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 107F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel1.Controls.Add(this.splitContainer1, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.BtnListen, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.textBoxIP, 1, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.textBoxPort, 3, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label2, 2, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.socketor2, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.socketor3, 0, 2);
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(16, 15);
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 3;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(515, 714);
|
|
this.tableLayoutPanel1.TabIndex = 12;
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.tableLayoutPanel1.SetColumnSpan(this.splitContainer1, 4);
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer1.Location = new System.Drawing.Point(4, 37);
|
|
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
|
|
this.splitContainer1.Size = new System.Drawing.Size(507, 635);
|
|
this.splitContainer1.SplitterDistance = 605;
|
|
this.splitContainer1.SplitterWidth = 5;
|
|
this.splitContainer1.TabIndex = 13;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.propertyGrid1);
|
|
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.groupBox1.Size = new System.Drawing.Size(507, 605);
|
|
this.groupBox1.TabIndex = 11;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "ReceiveData";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.propertyGrid2);
|
|
this.groupBox2.Controls.Add(this.socketor1);
|
|
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.groupBox2.Location = new System.Drawing.Point(0, 0);
|
|
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.groupBox2.Size = new System.Drawing.Size(507, 25);
|
|
this.groupBox2.TabIndex = 12;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "SendData";
|
|
this.groupBox2.Visible = false;
|
|
//
|
|
// propertyGrid2
|
|
//
|
|
this.propertyGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.propertyGrid2.LineColor = System.Drawing.SystemColors.ControlDark;
|
|
this.propertyGrid2.Location = new System.Drawing.Point(4, 22);
|
|
this.propertyGrid2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.propertyGrid2.Name = "propertyGrid2";
|
|
this.propertyGrid2.Size = new System.Drawing.Size(499, 0);
|
|
this.propertyGrid2.TabIndex = 11;
|
|
//
|
|
// socketor1
|
|
//
|
|
this.socketor1.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
|
this.socketor1.Location = new System.Drawing.Point(79, 276);
|
|
this.socketor1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.socketor1.Name = "socketor1";
|
|
this.socketor1.Size = new System.Drawing.Size(44, 30);
|
|
this.socketor1.TabIndex = 0;
|
|
this.socketor1.Text = "socketor1";
|
|
this.socketor1.Visible = false;
|
|
this.socketor1.Receive += new SocketReceive.ReceiveEventHandler(this.socketor1_Receive);
|
|
//
|
|
// textBoxIP
|
|
//
|
|
this.textBoxIP.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.textBoxIP.Location = new System.Drawing.Point(111, 4);
|
|
this.textBoxIP.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.textBoxIP.Name = "textBoxIP";
|
|
this.textBoxIP.Size = new System.Drawing.Size(232, 25);
|
|
this.textBoxIP.TabIndex = 7;
|
|
//
|
|
// textBoxPort
|
|
//
|
|
this.textBoxPort.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.textBoxPort.Location = new System.Drawing.Point(458, 4);
|
|
this.textBoxPort.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.textBoxPort.Name = "textBoxPort";
|
|
this.textBoxPort.Size = new System.Drawing.Size(53, 25);
|
|
this.textBoxPort.TabIndex = 8;
|
|
//
|
|
// socketor2
|
|
//
|
|
this.socketor2.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
|
this.socketor2.Location = new System.Drawing.Point(111, 680);
|
|
this.socketor2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.socketor2.Name = "socketor2";
|
|
this.socketor2.Size = new System.Drawing.Size(44, 30);
|
|
this.socketor2.TabIndex = 14;
|
|
this.socketor2.Text = "socketor2";
|
|
this.socketor2.Visible = false;
|
|
this.socketor2.Receive += new SocketReceive.ReceiveEventHandler(this.socketor2_Receive);
|
|
//
|
|
// socketor3
|
|
//
|
|
this.socketor3.Location = new System.Drawing.Point(4, 680);
|
|
this.socketor3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.socketor3.Name = "socketor3";
|
|
this.socketor3.Size = new System.Drawing.Size(99, 29);
|
|
this.socketor3.TabIndex = 15;
|
|
this.socketor3.Text = "socketor3";
|
|
this.socketor3.Visible = false;
|
|
this.socketor3.Receive += new SocketReceive.ReceiveEventHandler(this.Socketor3_Receive);
|
|
//
|
|
// Receiver
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(547, 741);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
this.Name = "Receiver";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "数据接收/监听";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Receiver_FormClosing);
|
|
this.Load += new System.EventHandler(this.Receiver_Load);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
this.splitContainer1.ResumeLayout(false);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Socketor socketor1;
|
|
private System.Windows.Forms.Button BtnListen;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.PropertyGrid propertyGrid1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.PropertyGrid propertyGrid2;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private System.Windows.Forms.TextBox textBoxIP;
|
|
private System.Windows.Forms.TextBox textBoxPort;
|
|
private Socketor socketor2;
|
|
private Socketor socketor3;
|
|
}
|
|
} |