📄 form1.designer.cs
字号:
namespace WinApp6_7构造函数长方体
{
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.lblInfo = new System.Windows.Forms.Label();
this.txtL = new System.Windows.Forms.TextBox();
this.txtW = new System.Windows.Forms.TextBox();
this.txtH = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.radCube = new System.Windows.Forms.RadioButton();
this.radCuboid = new System.Windows.Forms.RadioButton();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(39, 9);
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(144, 9);
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(249, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(37, 15);
this.label3.TabIndex = 2;
this.label3.Text = "高:";
//
// lblInfo
//
this.lblInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblInfo.Location = new System.Drawing.Point(39, 55);
this.lblInfo.Name = "lblInfo";
this.lblInfo.Size = new System.Drawing.Size(294, 56);
this.lblInfo.TabIndex = 3;
//
// txtL
//
this.txtL.Location = new System.Drawing.Point(42, 27);
this.txtL.Name = "txtL";
this.txtL.Size = new System.Drawing.Size(81, 25);
this.txtL.TabIndex = 4;
//
// txtW
//
this.txtW.Location = new System.Drawing.Point(147, 27);
this.txtW.Name = "txtW";
this.txtW.Size = new System.Drawing.Size(81, 25);
this.txtW.TabIndex = 5;
//
// txtH
//
this.txtH.Location = new System.Drawing.Point(252, 27);
this.txtH.Name = "txtH";
this.txtH.Size = new System.Drawing.Size(81, 25);
this.txtH.TabIndex = 6;
//
// button1
//
this.button1.Location = new System.Drawing.Point(126, 155);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(123, 29);
this.button1.TabIndex = 7;
this.button1.Text = "创建对象";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// radCube
//
this.radCube.AutoSize = true;
this.radCube.Location = new System.Drawing.Point(66, 130);
this.radCube.Name = "radCube";
this.radCube.Size = new System.Drawing.Size(73, 19);
this.radCube.TabIndex = 8;
this.radCube.Text = "正方体";
this.radCube.UseVisualStyleBackColor = true;
this.radCube.CheckedChanged += new System.EventHandler(this.radCube_CheckedChanged);
//
// radCuboid
//
this.radCuboid.AutoSize = true;
this.radCuboid.Checked = true;
this.radCuboid.Location = new System.Drawing.Point(236, 130);
this.radCuboid.Name = "radCuboid";
this.radCuboid.Size = new System.Drawing.Size(73, 19);
this.radCuboid.TabIndex = 9;
this.radCuboid.TabStop = true;
this.radCuboid.Text = "长方体";
this.radCuboid.UseVisualStyleBackColor = true;
this.radCuboid.CheckedChanged += new System.EventHandler(this.radCuboid_CheckedChanged);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(375, 196);
this.Controls.Add(this.radCuboid);
this.Controls.Add(this.radCube);
this.Controls.Add(this.button1);
this.Controls.Add(this.txtH);
this.Controls.Add(this.txtW);
this.Controls.Add(this.txtL);
this.Controls.Add(this.lblInfo);
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.Label lblInfo;
private System.Windows.Forms.TextBox txtL;
private System.Windows.Forms.TextBox txtW;
private System.Windows.Forms.TextBox txtH;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.RadioButton radCube;
private System.Windows.Forms.RadioButton radCuboid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -