添加 MainForm.Designer.cs
This commit is contained in:
parent
1442570541
commit
cf593e52ad
151
MainForm.Designer.cs
generated
Normal file
151
MainForm.Designer.cs
generated
Normal file
@ -0,0 +1,151 @@
|
||||
partial class MainForm
|
||||
{
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.txtChat = new System.Windows.Forms.TextBox();
|
||||
this.txtMessage = new System.Windows.Forms.TextBox();
|
||||
this.btnSend = new System.Windows.Forms.Button();
|
||||
this.txtUsername = new System.Windows.Forms.TextBox();
|
||||
this.txtPassword = new System.Windows.Forms.TextBox();
|
||||
this.btnLogin = new System.Windows.Forms.Button();
|
||||
this.btnRegister = new System.Windows.Forms.Button();
|
||||
this.btnConnect = new System.Windows.Forms.Button();
|
||||
this.btnDisconnect = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
|
||||
// txtChat
|
||||
this.txtChat.Location = new System.Drawing.Point(12, 12);
|
||||
this.txtChat.Multiline = true;
|
||||
this.txtChat.Name = "txtChat";
|
||||
this.txtChat.ReadOnly = true;
|
||||
this.txtChat.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.txtChat.Size = new System.Drawing.Size(460, 200);
|
||||
this.txtChat.TabIndex = 0;
|
||||
|
||||
// txtMessage
|
||||
this.txtMessage.Location = new System.Drawing.Point(12, 218);
|
||||
this.txtMessage.Name = "txtMessage";
|
||||
this.txtMessage.Size = new System.Drawing.Size(379, 20);
|
||||
this.txtMessage.TabIndex = 1;
|
||||
|
||||
// btnSend
|
||||
this.btnSend.Location = new System.Drawing.Point(397, 218);
|
||||
this.btnSend.Name = "btnSend";
|
||||
this.btnSend.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSend.TabIndex = 2;
|
||||
this.btnSend.Text = "发送";
|
||||
this.btnSend.UseVisualStyleBackColor = true;
|
||||
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
|
||||
|
||||
// txtUsername
|
||||
this.txtUsername.Location = new System.Drawing.Point(12, 260);
|
||||
this.txtUsername.Name = "txtUsername";
|
||||
this.txtUsername.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtUsername.TabIndex = 3;
|
||||
|
||||
// txtPassword
|
||||
this.txtPassword.Location = new System.Drawing.Point(118, 260);
|
||||
this.txtPassword.Name = "txtPassword";
|
||||
this.txtPassword.PasswordChar = '*';
|
||||
this.txtPassword.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPassword.TabIndex = 4;
|
||||
|
||||
// btnLogin
|
||||
this.btnLogin.Location = new System.Drawing.Point(224, 260);
|
||||
this.btnLogin.Name = "btnLogin";
|
||||
this.btnLogin.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnLogin.TabIndex = 5;
|
||||
this.btnLogin.Text = "登录";
|
||||
this.btnLogin.UseVisualStyleBackColor = true;
|
||||
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
||||
|
||||
// btnRegister
|
||||
this.btnRegister.Location = new System.Drawing.Point(305, 260);
|
||||
this.btnRegister.Name = "btnRegister";
|
||||
this.btnRegister.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnRegister.TabIndex = 6;
|
||||
this.btnRegister.Text = "注册";
|
||||
this.btnRegister.UseVisualStyleBackColor = true;
|
||||
this.btnRegister.Click += new System.EventHandler(this.btnRegister_Click);
|
||||
|
||||
// btnConnect
|
||||
this.btnConnect.Location = new System.Drawing.Point(12, 290);
|
||||
this.btnConnect.Name = "btnConnect";
|
||||
this.btnConnect.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnConnect.TabIndex = 7;
|
||||
this.btnConnect.Text = "连接";
|
||||
this.btnConnect.UseVisualStyleBackColor = true;
|
||||
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
||||
|
||||
// btnDisconnect
|
||||
this.btnDisconnect.Location = new System.Drawing.Point(93, 290);
|
||||
this.btnDisconnect.Name = "btnDisconnect";
|
||||
this.btnDisconnect.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnDisconnect.TabIndex = 8;
|
||||
this.btnDisconnect.Text = "断开";
|
||||
this.btnDisconnect.UseVisualStyleBackColor = true;
|
||||
this.btnDisconnect.Click += new System.EventHandler(this.btnDisconnect_Click);
|
||||
|
||||
// label1
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 244);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(43, 13);
|
||||
this.label1.TabIndex = 9;
|
||||
this.label1.Text = "用户名";
|
||||
|
||||
// label2
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(115, 244);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(31, 13);
|
||||
this.label2.TabIndex = 10;
|
||||
this.label2.Text = "密码";
|
||||
|
||||
// MainForm
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(484, 325);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btnDisconnect);
|
||||
this.Controls.Add(this.btnConnect);
|
||||
this.Controls.Add(this.btnRegister);
|
||||
this.Controls.Add(this.btnLogin);
|
||||
this.Controls.Add(this.txtPassword);
|
||||
this.Controls.Add(this.txtUsername);
|
||||
this.Controls.Add(this.btnSend);
|
||||
this.Controls.Add(this.txtMessage);
|
||||
this.Controls.Add(this.txtChat);
|
||||
this.Name = "MainForm";
|
||||
this.Text = "聊天客户端";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
private System.Windows.Forms.TextBox txtChat;
|
||||
private System.Windows.Forms.TextBox txtMessage;
|
||||
private System.Windows.Forms.Button btnSend;
|
||||
private System.Windows.Forms.TextBox txtUsername;
|
||||
private System.Windows.Forms.TextBox txtPassword;
|
||||
private System.Windows.Forms.Button btnLogin;
|
||||
private System.Windows.Forms.Button btnRegister;
|
||||
private System.Windows.Forms.Button btnConnect;
|
||||
private System.Windows.Forms.Button btnDisconnect;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user