📄 form1.designer.cs
字号:
namespace SocketsSample
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <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.mainMenu1 = new System.Windows.Forms.MainMenu();
this.txtName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtCompany = new System.Windows.Forms.TextBox();
this.txtNumber = new System.Windows.Forms.TextBox();
this.btnShare = new System.Windows.Forms.Button();
this.txtRecipient = new System.Windows.Forms.TextBox();
this.listBox1 = new System.Windows.Forms.ListBox();
this.label4 = new System.Windows.Forms.Label();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.btnFile = new System.Windows.Forms.Button();
this.btnIP = new System.Windows.Forms.Button();
this.txtHost = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(72, 3);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(165, 21);
this.txtName.TabIndex = 0;
//
// label1
//
this.label1.Location = new System.Drawing.Point(3, 4);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 20);
this.label1.Text = "Name:";
//
// label2
//
this.label2.Location = new System.Drawing.Point(3, 30);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(77, 20);
this.label2.Text = "Company:";
//
// label3
//
this.label3.Location = new System.Drawing.Point(3, 57);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(77, 20);
this.label3.Text = "Number:";
//
// txtCompany
//
this.txtCompany.Location = new System.Drawing.Point(72, 30);
this.txtCompany.Name = "txtCompany";
this.txtCompany.Size = new System.Drawing.Size(165, 21);
this.txtCompany.TabIndex = 4;
//
// txtNumber
//
this.txtNumber.Location = new System.Drawing.Point(72, 57);
this.txtNumber.Name = "txtNumber";
this.txtNumber.Size = new System.Drawing.Size(165, 21);
this.txtNumber.TabIndex = 5;
//
// btnShare
//
this.btnShare.Location = new System.Drawing.Point(165, 84);
this.btnShare.Name = "btnShare";
this.btnShare.Size = new System.Drawing.Size(72, 20);
this.btnShare.TabIndex = 6;
this.btnShare.Text = "Share";
this.btnShare.Click += new System.EventHandler(this.btnShare_Click);
//
// txtRecipient
//
this.txtRecipient.Location = new System.Drawing.Point(72, 110);
this.txtRecipient.Name = "txtRecipient";
this.txtRecipient.Size = new System.Drawing.Size(91, 21);
this.txtRecipient.TabIndex = 7;
this.txtRecipient.Text = "192.168.2.2";
//
// listBox1
//
this.listBox1.Location = new System.Drawing.Point(0, 196);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(240, 72);
this.listBox1.TabIndex = 8;
//
// label4
//
this.label4.Location = new System.Drawing.Point(3, 173);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 20);
this.label4.Text = "Received:";
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
this.openFileDialog1.Filter = "All Files|*.*";
//
// btnFile
//
this.btnFile.Location = new System.Drawing.Point(165, 111);
this.btnFile.Name = "btnFile";
this.btnFile.Size = new System.Drawing.Size(72, 20);
this.btnFile.TabIndex = 12;
this.btnFile.Text = "Send File";
this.btnFile.Click += new System.EventHandler(this.btnFile_Click);
//
// btnIP
//
this.btnIP.Location = new System.Drawing.Point(3, 111);
this.btnIP.Name = "btnIP";
this.btnIP.Size = new System.Drawing.Size(63, 20);
this.btnIP.TabIndex = 17;
this.btnIP.Text = "Get IP";
this.btnIP.Click += new System.EventHandler(this.btnIP_Click);
//
// txtHost
//
this.txtHost.Location = new System.Drawing.Point(3, 83);
this.txtHost.Name = "txtHost";
this.txtHost.Size = new System.Drawing.Size(160, 21);
this.txtHost.TabIndex = 22;
this.txtHost.Text = "PPP_PEER";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.txtHost);
this.Controls.Add(this.btnIP);
this.Controls.Add(this.btnFile);
this.Controls.Add(this.label4);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.txtRecipient);
this.Controls.Add(this.btnShare);
this.Controls.Add(this.txtNumber);
this.Controls.Add(this.txtCompany);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.txtName);
this.Menu = this.mainMenu1;
this.MinimizeBox = false;
this.Name = "Form1";
this.Text = "Sockets";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtCompany;
private System.Windows.Forms.TextBox txtNumber;
private System.Windows.Forms.Button btnShare;
private System.Windows.Forms.TextBox txtRecipient;
private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Button btnFile;
private System.Windows.Forms.Button btnIP;
private System.Windows.Forms.TextBox txtHost;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -