⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.designer.cs

📁 C#计算器 用来计算简单的小计算!
💻 CS
📖 第 1 页 / 共 2 页
字号:
            this.btnDivision.Location = new System.Drawing.Point(196, 92);
            this.btnDivision.Name = "btnDivision";
            this.btnDivision.Size = new System.Drawing.Size(37, 30);
            this.btnDivision.TabIndex = 14;
            this.btnDivision.Text = "/";
            this.btnDivision.UseVisualStyleBackColor = true;
            this.btnDivision.Click += new System.EventHandler(this.btnOperate_Click);
            // 
            // btnSqrt
            // 
            this.btnSqrt.ForeColor = System.Drawing.Color.Blue;
            this.btnSqrt.Location = new System.Drawing.Point(245, 92);
            this.btnSqrt.Name = "btnSqrt";
            this.btnSqrt.Size = new System.Drawing.Size(37, 30);
            this.btnSqrt.TabIndex = 15;
            this.btnSqrt.Text = "sqrt";
            this.btnSqrt.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnSqrt.UseVisualStyleBackColor = true;
            this.btnSqrt.Click += new System.EventHandler(this.btnSqrt_Click);
            // 
            // btnMultiplication
            // 
            this.btnMultiplication.ForeColor = System.Drawing.Color.Red;
            this.btnMultiplication.Location = new System.Drawing.Point(196, 128);
            this.btnMultiplication.Name = "btnMultiplication";
            this.btnMultiplication.Size = new System.Drawing.Size(37, 30);
            this.btnMultiplication.TabIndex = 16;
            this.btnMultiplication.Text = "*";
            this.btnMultiplication.UseVisualStyleBackColor = true;
            this.btnMultiplication.Click += new System.EventHandler(this.btnOperate_Click);
            // 
            // btnDivRem
            // 
            this.btnDivRem.ForeColor = System.Drawing.Color.Blue;
            this.btnDivRem.Location = new System.Drawing.Point(245, 167);
            this.btnDivRem.Name = "btnDivRem";
            this.btnDivRem.Size = new System.Drawing.Size(37, 30);
            this.btnDivRem.TabIndex = 17;
            this.btnDivRem.Text = "%";
            this.btnDivRem.UseVisualStyleBackColor = true;
            this.btnDivRem.Click += new System.EventHandler(this.btnOperate_Click);
            // 
            // btnSubtraction
            // 
            this.btnSubtraction.ForeColor = System.Drawing.Color.Red;
            this.btnSubtraction.Location = new System.Drawing.Point(196, 169);
            this.btnSubtraction.Name = "btnSubtraction";
            this.btnSubtraction.Size = new System.Drawing.Size(37, 30);
            this.btnSubtraction.TabIndex = 18;
            this.btnSubtraction.Text = "-";
            this.btnSubtraction.UseVisualStyleBackColor = true;
            this.btnSubtraction.Click += new System.EventHandler(this.btnOperate_Click);
            // 
            // btnRec
            // 
            this.btnRec.ForeColor = System.Drawing.Color.Blue;
            this.btnRec.Location = new System.Drawing.Point(245, 203);
            this.btnRec.Name = "btnRec";
            this.btnRec.Size = new System.Drawing.Size(37, 30);
            this.btnRec.TabIndex = 19;
            this.btnRec.Text = "1/x";
            this.btnRec.UseVisualStyleBackColor = true;
            this.btnRec.Click += new System.EventHandler(this.btnRec_Click);
            // 
            // btn0
            // 
            this.btn0.ForeColor = System.Drawing.Color.Blue;
            this.btn0.Location = new System.Drawing.Point(43, 206);
            this.btn0.Name = "btn0";
            this.btn0.Size = new System.Drawing.Size(37, 30);
            this.btn0.TabIndex = 20;
            this.btn0.Text = "0";
            this.btn0.UseVisualStyleBackColor = true;
            this.btn0.Click += new System.EventHandler(this.btn_Click);
            // 
            // btnDot
            // 
            this.btnDot.ForeColor = System.Drawing.Color.Blue;
            this.btnDot.Location = new System.Drawing.Point(93, 205);
            this.btnDot.Name = "btnDot";
            this.btnDot.Size = new System.Drawing.Size(37, 30);
            this.btnDot.TabIndex = 22;
            this.btnDot.Text = ".";
            this.btnDot.UseVisualStyleBackColor = true;
            this.btnDot.Click += new System.EventHandler(this.btnDot_Click);
            // 
            // btnAdd
            // 
            this.btnAdd.ForeColor = System.Drawing.Color.Red;
            this.btnAdd.Location = new System.Drawing.Point(196, 206);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(37, 30);
            this.btnAdd.TabIndex = 23;
            this.btnAdd.Text = "+";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += new System.EventHandler(this.btnOperate_Click);
            // 
            // btnEqual
            // 
            this.btnEqual.ForeColor = System.Drawing.Color.Red;
            this.btnEqual.Location = new System.Drawing.Point(144, 206);
            this.btnEqual.Name = "btnEqual";
            this.btnEqual.Size = new System.Drawing.Size(37, 30);
            this.btnEqual.TabIndex = 24;
            this.btnEqual.Text = "=";
            this.btnEqual.UseVisualStyleBackColor = true;
            this.btnEqual.Click += new System.EventHandler(this.btnEqual_Click);
            // 
            // button20
            // 
            this.button20.Location = new System.Drawing.Point(0, 92);
            this.button20.Name = "button20";
            this.button20.Size = new System.Drawing.Size(0, 0);
            this.button20.TabIndex = 25;
            this.button20.Text = "button20";
            this.button20.UseVisualStyleBackColor = true;
            // 
            // btnSqua
            // 
            this.btnSqua.ForeColor = System.Drawing.Color.Blue;
            this.btnSqua.Location = new System.Drawing.Point(245, 131);
            this.btnSqua.Name = "btnSqua";
            this.btnSqua.Size = new System.Drawing.Size(37, 30);
            this.btnSqua.TabIndex = 26;
            this.btnSqua.Text = "squa";
            this.btnSqua.UseVisualStyleBackColor = true;
            this.btnSqua.Click += new System.EventHandler(this.btnSqua_Click);
            // 
            // lblTitle
            // 
            this.lblTitle.Font = new System.Drawing.Font("华文彩云", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.lblTitle.Location = new System.Drawing.Point(41, 58);
            this.lblTitle.Name = "lblTitle";
            this.lblTitle.Size = new System.Drawing.Size(166, 20);
            this.lblTitle.TabIndex = 27;
            this.lblTitle.Text = "标 准 型 计 算 器";
            this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // frmCalculator
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(292, 245);
            this.Controls.Add(this.lblTitle);
            this.Controls.Add(this.btnSqua);
            this.Controls.Add(this.button20);
            this.Controls.Add(this.btnEqual);
            this.Controls.Add(this.btnAdd);
            this.Controls.Add(this.btnDot);
            this.Controls.Add(this.btn0);
            this.Controls.Add(this.btnRec);
            this.Controls.Add(this.btnSubtraction);
            this.Controls.Add(this.btnDivRem);
            this.Controls.Add(this.btnMultiplication);
            this.Controls.Add(this.btnSqrt);
            this.Controls.Add(this.btnDivision);
            this.Controls.Add(this.btn8);
            this.Controls.Add(this.btn5);
            this.Controls.Add(this.btn9);
            this.Controls.Add(this.btn6);
            this.Controls.Add(this.btn4);
            this.Controls.Add(this.btn7);
            this.Controls.Add(this.btn3);
            this.Controls.Add(this.btn2);
            this.Controls.Add(this.btn1);
            this.Controls.Add(this.btnC);
            this.Controls.Add(this.txtOperation);
            this.Controls.Add(this.menuStrip1);
            this.MainMenuStrip = this.menuStrip1;
            this.Name = "frmCalculator";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "计算器";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.MenuStrip menuStrip1;
        private System.Windows.Forms.ToolStripMenuItem 编辑ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 查看ToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
        private System.Windows.Forms.Button btnC;
        private System.Windows.Forms.Button btn1;
        private System.Windows.Forms.Button btn2;
        private System.Windows.Forms.Button btn3;
        private System.Windows.Forms.Button btn7;
        private System.Windows.Forms.Button btn4;
        private System.Windows.Forms.Button btn6;
        private System.Windows.Forms.Button btn9;
        private System.Windows.Forms.Button btn5;
        private System.Windows.Forms.Button btn8;
        private System.Windows.Forms.Button btnDivision;
        private System.Windows.Forms.Button btnSqrt;
        private System.Windows.Forms.Button btnMultiplication;
        private System.Windows.Forms.Button btnDivRem;
        private System.Windows.Forms.Button btnSubtraction;
        private System.Windows.Forms.Button btnRec;
        private System.Windows.Forms.Button btn0;
        private System.Windows.Forms.Button btnDot;
        private System.Windows.Forms.Button btnAdd;
        private System.Windows.Forms.Button btnEqual;
        private System.Windows.Forms.Button button20;
        protected System.Windows.Forms.TextBox txtOperation;
        private System.Windows.Forms.Button btnSqua;
        private System.Windows.Forms.Label lblTitle;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -