📄 form1.designer.cs
字号:
namespace 计算器
{
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.txtShow = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button0 = new System.Windows.Forms.Button();
this.buttonDot = new System.Windows.Forms.Button();
this.buttonAdd = new System.Windows.Forms.Button();
this.buttonClear = new System.Windows.Forms.Button();
this.buttonEqual = new System.Windows.Forms.Button();
this.buttonSub = new System.Windows.Forms.Button();
this.buttonMul = new System.Windows.Forms.Button();
this.buttonDiv = new System.Windows.Forms.Button();
this.buttonReverse = new System.Windows.Forms.Button();
this.buttonSqr = new System.Windows.Forms.Button();
this.buttonSqrt = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// txtShow
//
this.txtShow.Location = new System.Drawing.Point(12, 12);
this.txtShow.Name = "txtShow";
this.txtShow.Size = new System.Drawing.Size(266, 21);
this.txtShow.TabIndex = 0;
this.txtShow.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// button1
//
this.button1.Location = new System.Drawing.Point(12, 102);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(40, 23);
this.button1.TabIndex = 1;
this.button1.Text = "1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button0_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(68, 102);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(40, 23);
this.button2.TabIndex = 2;
this.button2.Text = "2";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button0_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(125, 102);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(40, 23);
this.button3.TabIndex = 3;
this.button3.Text = "3";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button0_Click);
//
// button4
//
this.button4.Location = new System.Drawing.Point(12, 73);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(40, 23);
this.button4.TabIndex = 6;
this.button4.Text = "4";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button0_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(69, 73);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(40, 23);
this.button5.TabIndex = 5;
this.button5.Text = "5";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button0_Click);
//
// button6
//
this.button6.Location = new System.Drawing.Point(126, 73);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(40, 23);
this.button6.TabIndex = 4;
this.button6.Text = "6";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button0_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(12, 44);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(40, 23);
this.button7.TabIndex = 9;
this.button7.Text = "7";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button0_Click);
//
// button8
//
this.button8.Location = new System.Drawing.Point(69, 44);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(40, 23);
this.button8.TabIndex = 8;
this.button8.Text = "8";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button0_Click);
//
// button9
//
this.button9.Location = new System.Drawing.Point(126, 44);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(40, 23);
this.button9.TabIndex = 7;
this.button9.Text = "9";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button0_Click);
//
// button0
//
this.button0.Location = new System.Drawing.Point(12, 131);
this.button0.Name = "button0";
this.button0.Size = new System.Drawing.Size(40, 23);
this.button0.TabIndex = 10;
this.button0.Text = "0";
this.button0.UseVisualStyleBackColor = true;
this.button0.Click += new System.EventHandler(this.button0_Click);
//
// buttonDot
//
this.buttonDot.Location = new System.Drawing.Point(125, 130);
this.buttonDot.Name = "buttonDot";
this.buttonDot.Size = new System.Drawing.Size(40, 23);
this.buttonDot.TabIndex = 11;
this.buttonDot.Text = ".";
this.buttonDot.UseVisualStyleBackColor = true;
this.buttonDot.Click += new System.EventHandler(this.button0_Click);
//
// buttonAdd
//
this.buttonAdd.Location = new System.Drawing.Point(182, 131);
this.buttonAdd.Name = "buttonAdd";
this.buttonAdd.Size = new System.Drawing.Size(40, 23);
this.buttonAdd.TabIndex = 12;
this.buttonAdd.Text = "+";
this.buttonAdd.UseVisualStyleBackColor = true;
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
//
// buttonClear
//
this.buttonClear.Location = new System.Drawing.Point(238, 44);
this.buttonClear.Name = "buttonClear";
this.buttonClear.Size = new System.Drawing.Size(40, 23);
this.buttonClear.TabIndex = 13;
this.buttonClear.Text = "C";
this.buttonClear.UseVisualStyleBackColor = true;
this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
//
// buttonEqual
//
this.buttonEqual.Location = new System.Drawing.Point(238, 131);
this.buttonEqual.Name = "buttonEqual";
this.buttonEqual.Size = new System.Drawing.Size(40, 23);
this.buttonEqual.TabIndex = 14;
this.buttonEqual.Text = "=";
this.buttonEqual.UseVisualStyleBackColor = true;
this.buttonEqual.Click += new System.EventHandler(this.buttonEqual_Click);
//
// buttonSub
//
this.buttonSub.Location = new System.Drawing.Point(182, 102);
this.buttonSub.Name = "buttonSub";
this.buttonSub.Size = new System.Drawing.Size(40, 23);
this.buttonSub.TabIndex = 15;
this.buttonSub.Text = "-";
this.buttonSub.UseVisualStyleBackColor = true;
this.buttonSub.Click += new System.EventHandler(this.buttonAdd_Click);
//
// buttonMul
//
this.buttonMul.Location = new System.Drawing.Point(182, 73);
this.buttonMul.Name = "buttonMul";
this.buttonMul.Size = new System.Drawing.Size(40, 23);
this.buttonMul.TabIndex = 16;
this.buttonMul.Text = "*";
this.buttonMul.UseVisualStyleBackColor = true;
this.buttonMul.Click += new System.EventHandler(this.buttonAdd_Click);
//
// buttonDiv
//
this.buttonDiv.Location = new System.Drawing.Point(182, 44);
this.buttonDiv.Name = "buttonDiv";
this.buttonDiv.Size = new System.Drawing.Size(40, 23);
this.buttonDiv.TabIndex = 17;
this.buttonDiv.Text = "/";
this.buttonDiv.UseVisualStyleBackColor = true;
this.buttonDiv.Click += new System.EventHandler(this.buttonAdd_Click);
//
// buttonReverse
//
this.buttonReverse.Location = new System.Drawing.Point(69, 131);
this.buttonReverse.Name = "buttonReverse";
this.buttonReverse.Size = new System.Drawing.Size(40, 23);
this.buttonReverse.TabIndex = 18;
this.buttonReverse.Text = "+/-";
this.buttonReverse.UseVisualStyleBackColor = true;
this.buttonReverse.Click += new System.EventHandler(this.buttonEqual_Click);
//
// buttonSqr
//
this.buttonSqr.Location = new System.Drawing.Point(238, 73);
this.buttonSqr.Name = "buttonSqr";
this.buttonSqr.Size = new System.Drawing.Size(40, 23);
this.buttonSqr.TabIndex = 19;
this.buttonSqr.Text = "sqr";
this.buttonSqr.UseVisualStyleBackColor = true;
this.buttonSqr.Click += new System.EventHandler(this.buttonEqual_Click);
//
// buttonSqrt
//
this.buttonSqrt.Location = new System.Drawing.Point(238, 102);
this.buttonSqrt.Name = "buttonSqrt";
this.buttonSqrt.Size = new System.Drawing.Size(40, 23);
this.buttonSqrt.TabIndex = 20;
this.buttonSqrt.Text = "sqrt";
this.buttonSqrt.UseVisualStyleBackColor = true;
this.buttonSqrt.Click += new System.EventHandler(this.buttonEqual_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(290, 165);
this.Controls.Add(this.buttonSqrt);
this.Controls.Add(this.buttonSqr);
this.Controls.Add(this.buttonReverse);
this.Controls.Add(this.buttonDiv);
this.Controls.Add(this.buttonMul);
this.Controls.Add(this.buttonSub);
this.Controls.Add(this.buttonEqual);
this.Controls.Add(this.buttonClear);
this.Controls.Add(this.buttonAdd);
this.Controls.Add(this.buttonDot);
this.Controls.Add(this.button0);
this.Controls.Add(this.button7);
this.Controls.Add(this.button8);
this.Controls.Add(this.button9);
this.Controls.Add(this.button4);
this.Controls.Add(this.button5);
this.Controls.Add(this.button6);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.txtShow);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox txtShow;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button0;
private System.Windows.Forms.Button buttonDot;
private System.Windows.Forms.Button buttonAdd;
private System.Windows.Forms.Button buttonClear;
private System.Windows.Forms.Button buttonEqual;
private System.Windows.Forms.Button buttonSub;
private System.Windows.Forms.Button buttonMul;
private System.Windows.Forms.Button buttonDiv;
private System.Windows.Forms.Button buttonReverse;
private System.Windows.Forms.Button buttonSqr;
private System.Windows.Forms.Button buttonSqrt;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -