📄 frmclient.designer.cs
字号:
namespace ChatClient
{
partial class frmClient
{
/// <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.components = new System.ComponentModel.Container();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.txtNickName = new System.Windows.Forms.TextBox();
this.button2 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.txtHost = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.lstStatus = new System.Windows.Forms.ListBox();
this.txtMessage = new System.Windows.Forms.TextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lstUsers = new System.Windows.Forms.ListBox();
this.groupBox1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.txtNickName);
this.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.txtHost);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Location = new System.Drawing.Point(9, 6);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(405, 74);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = " Connection ";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(107, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 13);
this.label2.TabIndex = 28;
this.label2.Text = "NickName";
//
// txtNickName
//
this.txtNickName.Location = new System.Drawing.Point(110, 36);
this.txtNickName.Name = "txtNickName";
this.txtNickName.Size = new System.Drawing.Size(89, 20);
this.txtNickName.TabIndex = 27;
this.txtNickName.Text = "Me";
//
// button2
//
this.button2.Location = new System.Drawing.Point(304, 34);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 5;
this.button2.Text = "Disconnect";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Host";
//
// txtHost
//
this.txtHost.Location = new System.Drawing.Point(15, 36);
this.txtHost.Name = "txtHost";
this.txtHost.Size = new System.Drawing.Size(89, 20);
this.txtHost.TabIndex = 1;
this.txtHost.Text = "127.0.0.1";
//
// button1
//
this.button1.Location = new System.Drawing.Point(222, 34);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Connect";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.lstStatus);
this.groupBox3.Controls.Add(this.txtMessage);
this.groupBox3.Location = new System.Drawing.Point(9, 86);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(405, 429);
this.groupBox3.TabIndex = 8;
this.groupBox3.TabStop = false;
this.groupBox3.Text = " Chat ";
//
// lstStatus
//
this.lstStatus.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lstStatus.FormattingEnabled = true;
this.lstStatus.HorizontalScrollbar = true;
this.lstStatus.ItemHeight = 16;
this.lstStatus.Location = new System.Drawing.Point(15, 19);
this.lstStatus.Name = "lstStatus";
this.lstStatus.ScrollAlwaysVisible = true;
this.lstStatus.Size = new System.Drawing.Size(379, 356);
this.lstStatus.TabIndex = 11;
//
// txtMessage
//
this.txtMessage.Location = new System.Drawing.Point(15, 390);
this.txtMessage.MaxLength = 128;
this.txtMessage.Name = "txtMessage";
this.txtMessage.Size = new System.Drawing.Size(378, 20);
this.txtMessage.TabIndex = 9;
this.txtMessage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtMessage_KeyPress);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lstUsers);
this.groupBox2.Location = new System.Drawing.Point(420, 6);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(189, 509);
this.groupBox2.TabIndex = 9;
this.groupBox2.TabStop = false;
this.groupBox2.Text = " Users ";
//
// lstUsers
//
this.lstUsers.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lstUsers.FormattingEnabled = true;
this.lstUsers.HorizontalScrollbar = true;
this.lstUsers.ItemHeight = 16;
this.lstUsers.Location = new System.Drawing.Point(10, 20);
this.lstUsers.Name = "lstUsers";
this.lstUsers.ScrollAlwaysVisible = true;
this.lstUsers.Size = new System.Drawing.Size(170, 468);
this.lstUsers.TabIndex = 11;
//
// frmClient
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(618, 525);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "frmClient";
this.Text = "ChatClient";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmClient_FormClosed);
this.Load += new System.EventHandler(this.frmClient_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtHost;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox txtMessage;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtNickName;
private System.Windows.Forms.ListBox lstStatus;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.ListBox lstUsers;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -