📄 form1.designer.cs
字号:
namespace WinApp6_1类与对象示例
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtLength = new System.Windows.Forms.TextBox();
this.txtWidth = new System.Windows.Forms.TextBox();
this.txtHigh = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.lblInfo = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(39, 31);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(37, 15);
this.label1.TabIndex = 0;
this.label1.Text = "长:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(167, 31);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(37, 15);
this.label2.TabIndex = 1;
this.label2.Text = "宽:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(295, 31);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(22, 15);
this.label3.TabIndex = 2;
this.label3.Text = "高";
//
// txtLength
//
this.txtLength.Location = new System.Drawing.Point(42, 49);
this.txtLength.Name = "txtLength";
this.txtLength.Size = new System.Drawing.Size(100, 25);
this.txtLength.TabIndex = 3;
//
// txtWidth
//
this.txtWidth.Location = new System.Drawing.Point(170, 49);
this.txtWidth.Name = "txtWidth";
this.txtWidth.Size = new System.Drawing.Size(100, 25);
this.txtWidth.TabIndex = 4;
//
// txtHigh
//
this.txtHigh.Location = new System.Drawing.Point(298, 49);
this.txtHigh.Name = "txtHigh";
this.txtHigh.Size = new System.Drawing.Size(100, 25);
this.txtHigh.TabIndex = 5;
//
// button1
//
this.button1.Location = new System.Drawing.Point(53, 138);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(129, 36);
this.button1.TabIndex = 6;
this.button1.Text = "设置对象值";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(254, 138);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(129, 36);
this.button2.TabIndex = 7;
this.button2.Text = "显示对象值";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// lblInfo
//
this.lblInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblInfo.Location = new System.Drawing.Point(91, 94);
this.lblInfo.Name = "lblInfo";
this.lblInfo.Size = new System.Drawing.Size(255, 24);
this.lblInfo.TabIndex = 8;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(437, 200);
this.Controls.Add(this.lblInfo);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.txtHigh);
this.Controls.Add(this.txtWidth);
this.Controls.Add(this.txtLength);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "类与对象示例";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtLength;
private System.Windows.Forms.TextBox txtWidth;
private System.Windows.Forms.TextBox txtHigh;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label lblInfo;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -