📄 formtextbox.designer.cs
字号:
namespace TextBoxExample
{
partial class FormTextBox
{
/// <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.buttonOK = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.labelResult = new System.Windows.Forms.Label();
this.textBoxUser = new System.Windows.Forms.TextBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.textBoxInformation = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// buttonOK
//
this.buttonOK.Location = new System.Drawing.Point(408, 85);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(72, 34);
this.buttonOK.TabIndex = 0;
this.buttonOK.Text = "确定";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
//
// label1
//
this.label1.Location = new System.Drawing.Point(46, 42);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(76, 28);
this.label1.TabIndex = 1;
this.label1.Text = "用户名";
//
// label2
//
this.label2.Location = new System.Drawing.Point(46, 88);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(76, 21);
this.label2.TabIndex = 2;
this.label2.Text = "密码";
//
// label3
//
this.label3.Location = new System.Drawing.Point(46, 131);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(76, 23);
this.label3.TabIndex = 3;
this.label3.Text = "资料";
//
// labelResult
//
this.labelResult.Location = new System.Drawing.Point(35, 292);
this.labelResult.Name = "labelResult";
this.labelResult.Size = new System.Drawing.Size(412, 33);
this.labelResult.TabIndex = 4;
this.labelResult.Text = "这里显示用户输入信息";
this.labelResult.Visible = false;
//
// textBoxUser
//
this.textBoxUser.Location = new System.Drawing.Point(150, 39);
this.textBoxUser.MaxLength = 6;
this.textBoxUser.Name = "textBoxUser";
this.textBoxUser.Size = new System.Drawing.Size(203, 21);
this.textBoxUser.TabIndex = 5;
this.textBoxUser.Text = "请输入六个字母以内的信息";
this.textBoxUser.MouseEnter += new System.EventHandler(this.textBoxUser_MouseEnter);
//
// textBoxPassword
//
this.textBoxPassword.Location = new System.Drawing.Point(150, 85);
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(203, 21);
this.textBoxPassword.TabIndex = 6;
this.textBoxPassword.TextChanged += new System.EventHandler(this.textBoxPassword_TextChanged);
//
// textBoxInformation
//
this.textBoxInformation.Location = new System.Drawing.Point(150, 128);
this.textBoxInformation.Multiline = true;
this.textBoxInformation.Name = "textBoxInformation";
this.textBoxInformation.Size = new System.Drawing.Size(203, 132);
this.textBoxInformation.TabIndex = 7;
this.textBoxInformation.Text = "请留下你的有关信息";
this.textBoxInformation.TextChanged += new System.EventHandler(this.textBoxInformation_TextChanged);
//
// FormTextBox
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightGray;
this.ClientSize = new System.Drawing.Size(492, 366);
this.Controls.Add(this.textBoxInformation);
this.Controls.Add(this.textBoxPassword);
this.Controls.Add(this.textBoxUser);
this.Controls.Add(this.labelResult);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.buttonOK);
this.Name = "FormTextBox";
this.Text = "用户信息录入";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label labelResult;
private System.Windows.Forms.TextBox textBoxUser;
private System.Windows.Forms.TextBox textBoxPassword;
private System.Windows.Forms.TextBox textBoxInformation;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -