📄 form1.designer.cs
字号:
namespace WinApp5_2while
{
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.txtA = new System.Windows.Forms.TextBox();
this.txtB = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.button1 = new System.Windows.Forms.Button();
this.lblResult = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(81, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(75, 15);
this.label1.TabIndex = 0;
this.label1.Text = "正整数1:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(81, 73);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(82, 15);
this.label2.TabIndex = 1;
this.label2.Text = "正整数2:";
//
// txtA
//
this.txtA.Location = new System.Drawing.Point(191, 22);
this.txtA.Name = "txtA";
this.txtA.Size = new System.Drawing.Size(100, 25);
this.txtA.TabIndex = 2;
//
// txtB
//
this.txtB.Location = new System.Drawing.Point(191, 63);
this.txtB.Name = "txtB";
this.txtB.Size = new System.Drawing.Size(100, 25);
this.txtB.TabIndex = 3;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Checked = true;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.Location = new System.Drawing.Point(68, 116);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(104, 19);
this.checkBox1.TabIndex = 4;
this.checkBox1.Text = "最大公约数";
this.checkBox1.UseVisualStyleBackColor = true;
//
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(203, 116);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(104, 19);
this.checkBox2.TabIndex = 5;
this.checkBox2.Text = "最小公倍数";
this.checkBox2.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(149, 154);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 31);
this.button1.TabIndex = 6;
this.button1.Text = "计算";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// lblResult
//
this.lblResult.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblResult.Location = new System.Drawing.Point(44, 198);
this.lblResult.Name = "lblResult";
this.lblResult.Size = new System.Drawing.Size(285, 50);
this.lblResult.TabIndex = 7;
//
// Form1
//
this.ClientSize = new System.Drawing.Size(372, 260);
this.Controls.Add(this.lblResult);
this.Controls.Add(this.button1);
this.Controls.Add(this.checkBox2);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.txtB);
this.Controls.Add(this.txtA);
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.TextBox txtA;
private System.Windows.Forms.TextBox txtB;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label lblResult;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -