📄 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.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.button10 = new System.Windows.Forms.Button();
this.bPlus = new System.Windows.Forms.Button();
this.bSub = new System.Windows.Forms.Button();
this.bMul = new System.Windows.Forms.Button();
this.bDiv = new System.Windows.Forms.Button();
this.bDot = new System.Windows.Forms.Button();
this.bEqu = new System.Windows.Forms.Button();
this.bClr = new System.Windows.Forms.Button();
this.txtCalc = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(45, 238);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(31, 23);
this.button1.TabIndex = 0;
this.button1.Text = "0";
this.button1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(45, 115);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(31, 23);
this.button2.TabIndex = 1;
this.button2.Text = "1";
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Location = new System.Drawing.Point(101, 115);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(31, 23);
this.button3.TabIndex = 2;
this.button3.Text = "2";
this.button3.UseVisualStyleBackColor = true;
//
// button4
//
this.button4.Location = new System.Drawing.Point(158, 115);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(31, 23);
this.button4.TabIndex = 3;
this.button4.Text = "3";
this.button4.UseVisualStyleBackColor = true;
//
// button5
//
this.button5.Location = new System.Drawing.Point(45, 157);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(31, 23);
this.button5.TabIndex = 4;
this.button5.Text = "4";
this.button5.UseVisualStyleBackColor = true;
//
// button6
//
this.button6.Location = new System.Drawing.Point(101, 157);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(31, 23);
this.button6.TabIndex = 5;
this.button6.Text = "5";
this.button6.UseVisualStyleBackColor = true;
//
// button7
//
this.button7.Location = new System.Drawing.Point(158, 157);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(31, 23);
this.button7.TabIndex = 6;
this.button7.Text = "6";
this.button7.UseVisualStyleBackColor = true;
//
// button8
//
this.button8.Location = new System.Drawing.Point(45, 198);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(31, 23);
this.button8.TabIndex = 7;
this.button8.Text = "7";
this.button8.UseVisualStyleBackColor = true;
//
// button9
//
this.button9.Location = new System.Drawing.Point(101, 198);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(31, 23);
this.button9.TabIndex = 8;
this.button9.Text = "8";
this.button9.UseVisualStyleBackColor = true;
//
// button10
//
this.button10.Location = new System.Drawing.Point(158, 198);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(31, 23);
this.button10.TabIndex = 9;
this.button10.Text = "9";
this.button10.UseVisualStyleBackColor = true;
//
// bPlus
//
this.bPlus.Location = new System.Drawing.Point(215, 115);
this.bPlus.Name = "bPlus";
this.bPlus.Size = new System.Drawing.Size(31, 23);
this.bPlus.TabIndex = 10;
this.bPlus.Text = "+";
this.bPlus.UseVisualStyleBackColor = true;
//
// bSub
//
this.bSub.Location = new System.Drawing.Point(215, 157);
this.bSub.Name = "bSub";
this.bSub.Size = new System.Drawing.Size(31, 23);
this.bSub.TabIndex = 11;
this.bSub.Text = "-";
this.bSub.UseVisualStyleBackColor = true;
//
// bMul
//
this.bMul.Location = new System.Drawing.Point(215, 198);
this.bMul.Name = "bMul";
this.bMul.Size = new System.Drawing.Size(31, 23);
this.bMul.TabIndex = 12;
this.bMul.Text = "*";
this.bMul.UseVisualStyleBackColor = true;
//
// bDiv
//
this.bDiv.Location = new System.Drawing.Point(158, 238);
this.bDiv.Name = "bDiv";
this.bDiv.Size = new System.Drawing.Size(31, 23);
this.bDiv.TabIndex = 13;
this.bDiv.Text = "/";
this.bDiv.UseVisualStyleBackColor = true;
//
// bDot
//
this.bDot.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.bDot.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
this.bDot.Location = new System.Drawing.Point(101, 236);
this.bDot.Name = "bDot";
this.bDot.Size = new System.Drawing.Size(31, 23);
this.bDot.TabIndex = 14;
this.bDot.Text = ".";
this.bDot.UseVisualStyleBackColor = true;
//
// bEqu
//
this.bEqu.Location = new System.Drawing.Point(215, 236);
this.bEqu.Name = "bEqu";
this.bEqu.Size = new System.Drawing.Size(31, 23);
this.bEqu.TabIndex = 15;
this.bEqu.Text = "=";
this.bEqu.UseVisualStyleBackColor = true;
//
// bClr
//
this.bClr.Location = new System.Drawing.Point(158, 71);
this.bClr.Name = "bClr";
this.bClr.Size = new System.Drawing.Size(88, 24);
this.bClr.TabIndex = 16;
this.bClr.Text = "AC";
this.bClr.UseVisualStyleBackColor = true;
//
// txtCalc
//
this.txtCalc.Location = new System.Drawing.Point(45, 28);
this.txtCalc.Name = "txtCalc";
this.txtCalc.Size = new System.Drawing.Size(201, 21);
this.txtCalc.TabIndex = 17;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(419, 394);
this.Controls.Add(this.txtCalc);
this.Controls.Add(this.bClr);
this.Controls.Add(this.bEqu);
this.Controls.Add(this.bDot);
this.Controls.Add(this.bDiv);
this.Controls.Add(this.bMul);
this.Controls.Add(this.bSub);
this.Controls.Add(this.bPlus);
this.Controls.Add(this.button10);
this.Controls.Add(this.button9);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "计算器";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
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 button10;
private System.Windows.Forms.Button bPlus;
private System.Windows.Forms.Button bSub;
private System.Windows.Forms.Button bMul;
private System.Windows.Forms.Button bDiv;
private System.Windows.Forms.Button bDot;
private System.Windows.Forms.Button bEqu;
private System.Windows.Forms.Button bClr;
private System.Windows.Forms.TextBox txtCalc;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -