📄 form1.designer.cs
字号:
namespace WinApp4_6加_减_乘_除
{
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.lblResult = new System.Windows.Forms.Label();
this.txtA = new System.Windows.Forms.TextBox();
this.txtB = new System.Windows.Forms.TextBox();
this.radAdd = new System.Windows.Forms.RadioButton();
this.radSub = new System.Windows.Forms.RadioButton();
this.radMult = new System.Windows.Forms.RadioButton();
this.radDiv = new System.Windows.Forms.RadioButton();
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(54, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(67, 15);
this.label1.TabIndex = 1;
this.label1.Text = "整数1:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(54, 64);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(67, 15);
this.label2.TabIndex = 2;
this.label2.Text = "整数2:";
//
// lblResult
//
this.lblResult.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblResult.Location = new System.Drawing.Point(61, 184);
this.lblResult.Name = "lblResult";
this.lblResult.Size = new System.Drawing.Size(193, 23);
this.lblResult.TabIndex = 3;
this.lblResult.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtA
//
this.txtA.Location = new System.Drawing.Point(160, 23);
this.txtA.Name = "txtA";
this.txtA.Size = new System.Drawing.Size(100, 25);
this.txtA.TabIndex = 4;
//
// txtB
//
this.txtB.Location = new System.Drawing.Point(160, 64);
this.txtB.Name = "txtB";
this.txtB.Size = new System.Drawing.Size(100, 25);
this.txtB.TabIndex = 5;
//
// radAdd
//
this.radAdd.AutoSize = true;
this.radAdd.Checked = true;
this.radAdd.Location = new System.Drawing.Point(30, 109);
this.radAdd.Name = "radAdd";
this.radAdd.Size = new System.Drawing.Size(43, 19);
this.radAdd.TabIndex = 6;
this.radAdd.TabStop = true;
this.radAdd.Text = "+";
this.radAdd.UseVisualStyleBackColor = true;
//
// radSub
//
this.radSub.AutoSize = true;
this.radSub.Location = new System.Drawing.Point(100, 109);
this.radSub.Name = "radSub";
this.radSub.Size = new System.Drawing.Size(43, 19);
this.radSub.TabIndex = 7;
this.radSub.Text = "-";
this.radSub.UseVisualStyleBackColor = true;
//
// radMult
//
this.radMult.AutoSize = true;
this.radMult.Location = new System.Drawing.Point(160, 109);
this.radMult.Name = "radMult";
this.radMult.Size = new System.Drawing.Size(43, 19);
this.radMult.TabIndex = 8;
this.radMult.Text = "×";
this.radMult.UseVisualStyleBackColor = true;
//
// radDiv
//
this.radDiv.AutoSize = true;
this.radDiv.Location = new System.Drawing.Point(230, 109);
this.radDiv.Name = "radDiv";
this.radDiv.Size = new System.Drawing.Size(43, 19);
this.radDiv.TabIndex = 9;
this.radDiv.Text = "÷";
this.radDiv.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(120, 141);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 31);
this.button1.TabIndex = 10;
this.button1.Text = "计算";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(315, 235);
this.Controls.Add(this.button1);
this.Controls.Add(this.radDiv);
this.Controls.Add(this.radMult);
this.Controls.Add(this.radSub);
this.Controls.Add(this.radAdd);
this.Controls.Add(this.txtB);
this.Controls.Add(this.txtA);
this.Controls.Add(this.lblResult);
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 lblResult;
private System.Windows.Forms.TextBox txtA;
private System.Windows.Forms.TextBox txtB;
private System.Windows.Forms.RadioButton radAdd;
private System.Windows.Forms.RadioButton radSub;
private System.Windows.Forms.RadioButton radMult;
private System.Windows.Forms.RadioButton radDiv;
private System.Windows.Forms.Button button1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -