📄 form1.designer.cs
字号:
namespace ChatClient
{
partial class Form1
{
/// <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.btnConnect = new System.Windows.Forms.Button();
this.txtIp = new System.Windows.Forms.TextBox();
this.lblServer = new System.Windows.Forms.Label();
this.btnSend = new System.Windows.Forms.Button();
this.txtMessage = new System.Windows.Forms.TextBox();
this.txtLog = new System.Windows.Forms.TextBox();
this.lblName = new System.Windows.Forms.Label();
this.txtUser = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// btnConnect
//
this.btnConnect.Location = new System.Drawing.Point(216, 34);
this.btnConnect.Name = "btnConnect";
this.btnConnect.Size = new System.Drawing.Size(75, 23);
this.btnConnect.TabIndex = 0;
this.btnConnect.Text = "Connect";
this.btnConnect.UseVisualStyleBackColor = true;
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
//
// txtIp
//
this.txtIp.Location = new System.Drawing.Point(82, 11);
this.txtIp.Name = "txtIp";
this.txtIp.Size = new System.Drawing.Size(128, 20);
this.txtIp.TabIndex = 1;
this.txtIp.Text = "192.168.1.101";
//
// lblServer
//
this.lblServer.AutoSize = true;
this.lblServer.Location = new System.Drawing.Point(13, 14);
this.lblServer.Name = "lblServer";
this.lblServer.Size = new System.Drawing.Size(54, 13);
this.lblServer.TabIndex = 2;
this.lblServer.Text = "Server IP:";
//
// btnSend
//
this.btnSend.Enabled = false;
this.btnSend.Location = new System.Drawing.Point(216, 351);
this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(75, 23);
this.btnSend.TabIndex = 3;
this.btnSend.Text = "Send";
this.btnSend.UseVisualStyleBackColor = true;
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
//
// txtMessage
//
this.txtMessage.Enabled = false;
this.txtMessage.Location = new System.Drawing.Point(16, 353);
this.txtMessage.Name = "txtMessage";
this.txtMessage.Size = new System.Drawing.Size(194, 20);
this.txtMessage.TabIndex = 4;
this.txtMessage.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtMessage_KeyPress);
//
// txtLog
//
this.txtLog.BackColor = System.Drawing.SystemColors.Window;
this.txtLog.Location = new System.Drawing.Point(16, 63);
this.txtLog.Multiline = true;
this.txtLog.Name = "txtLog";
this.txtLog.ReadOnly = true;
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.txtLog.Size = new System.Drawing.Size(275, 282);
this.txtLog.TabIndex = 5;
//
// lblName
//
this.lblName.AutoSize = true;
this.lblName.Location = new System.Drawing.Point(13, 40);
this.lblName.Name = "lblName";
this.lblName.Size = new System.Drawing.Size(63, 13);
this.lblName.TabIndex = 6;
this.lblName.Text = "User Name:";
//
// txtUser
//
this.txtUser.Location = new System.Drawing.Point(82, 37);
this.txtUser.Name = "txtUser";
this.txtUser.Size = new System.Drawing.Size(128, 20);
this.txtUser.TabIndex = 7;
this.txtUser.Text = "Tobias Funke";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(307, 389);
this.Controls.Add(this.txtUser);
this.Controls.Add(this.lblName);
this.Controls.Add(this.txtLog);
this.Controls.Add(this.txtMessage);
this.Controls.Add(this.btnSend);
this.Controls.Add(this.lblServer);
this.Controls.Add(this.txtIp);
this.Controls.Add(this.btnConnect);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "Chat Client";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnConnect;
private System.Windows.Forms.TextBox txtIp;
private System.Windows.Forms.Label lblServer;
private System.Windows.Forms.Button btnSend;
private System.Windows.Forms.TextBox txtMessage;
private System.Windows.Forms.TextBox txtLog;
private System.Windows.Forms.Label lblName;
private System.Windows.Forms.TextBox txtUser;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -