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

📄 form1.designer.cs

📁 这是用VC编写的一个关于计算器的代码
💻 CS
📖 第 1 页 / 共 2 页
字号:
namespace ProgramCalculator
{
    partial class FormMain
    {
        /// <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.components = new System.ComponentModel.Container();
            this.richTextBoxInput = new System.Windows.Forms.RichTextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.richTextBoxOutput = new System.Windows.Forms.RichTextBox();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.buttonComma = new System.Windows.Forms.Button();
            this.buttonDot = new System.Windows.Forms.Button();
            this.buttonRightBracket = new System.Windows.Forms.Button();
            this.buttonE = new System.Windows.Forms.Button();
            this.buttonPI = new System.Windows.Forms.Button();
            this.buttonLeftBracket = new System.Windows.Forms.Button();
            this.button0 = new System.Windows.Forms.Button();
            this.button9 = new System.Windows.Forms.Button();
            this.button8 = new System.Windows.Forms.Button();
            this.button7 = new System.Windows.Forms.Button();
            this.button6 = new System.Windows.Forms.Button();
            this.button5 = new System.Windows.Forms.Button();
            this.button4 = new System.Windows.Forms.Button();
            this.buttonBackspace = new System.Windows.Forms.Button();
            this.buttonIs = new System.Windows.Forms.Button();
            this.buttonMinus = new System.Windows.Forms.Button();
            this.buttonDivide = new System.Windows.Forms.Button();
            this.buttonMulti = new System.Windows.Forms.Button();
            this.buttonAdd = new System.Windows.Forms.Button();
            this.buttonClear = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.buttonAddFunction = new System.Windows.Forms.Button();
            this.panelFunctionButtons = new System.Windows.Forms.Panel();
            this.contextMenuStripOfFunctionButton = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.ToolStripMenuItemEditFunction = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.ToolStripMenuItemDeleteFunction = new System.Windows.Forms.ToolStripMenuItem();
            this.labelAbout = new System.Windows.Forms.Label();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.contextMenuStripOfFunctionButton.SuspendLayout();
            this.SuspendLayout();
            // 
            // richTextBoxInput
            // 
            this.richTextBoxInput.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.richTextBoxInput.DetectUrls = false;
            this.richTextBoxInput.Enabled = false;
            this.richTextBoxInput.Location = new System.Drawing.Point(6, 11);
            this.richTextBoxInput.Name = "richTextBoxInput";
            this.richTextBoxInput.Size = new System.Drawing.Size(359, 57);
            this.richTextBoxInput.TabIndex = 0;
            this.richTextBoxInput.Text = "";
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.richTextBoxOutput);
            this.groupBox1.Controls.Add(this.richTextBoxInput);
            this.groupBox1.Location = new System.Drawing.Point(8, 17);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(371, 164);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop = false;
            // 
            // richTextBoxOutput
            // 
            this.richTextBoxOutput.BackColor = System.Drawing.SystemColors.Control;
            this.richTextBoxOutput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.richTextBoxOutput.Enabled = false;
            this.richTextBoxOutput.Location = new System.Drawing.Point(6, 74);
            this.richTextBoxOutput.Name = "richTextBoxOutput";
            this.richTextBoxOutput.ReadOnly = true;
            this.richTextBoxOutput.Size = new System.Drawing.Size(359, 84);
            this.richTextBoxOutput.TabIndex = 1;
            this.richTextBoxOutput.Text = "";
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.buttonComma);
            this.groupBox2.Controls.Add(this.buttonDot);
            this.groupBox2.Controls.Add(this.buttonRightBracket);
            this.groupBox2.Controls.Add(this.buttonE);
            this.groupBox2.Controls.Add(this.buttonPI);
            this.groupBox2.Controls.Add(this.buttonLeftBracket);
            this.groupBox2.Controls.Add(this.button0);
            this.groupBox2.Controls.Add(this.button9);
            this.groupBox2.Controls.Add(this.button8);
            this.groupBox2.Controls.Add(this.button7);
            this.groupBox2.Controls.Add(this.button6);
            this.groupBox2.Controls.Add(this.button5);
            this.groupBox2.Controls.Add(this.button4);
            this.groupBox2.Controls.Add(this.buttonBackspace);
            this.groupBox2.Controls.Add(this.buttonIs);
            this.groupBox2.Controls.Add(this.buttonMinus);
            this.groupBox2.Controls.Add(this.buttonDivide);
            this.groupBox2.Controls.Add(this.buttonMulti);
            this.groupBox2.Controls.Add(this.buttonAdd);
            this.groupBox2.Controls.Add(this.buttonClear);
            this.groupBox2.Controls.Add(this.button3);
            this.groupBox2.Controls.Add(this.button2);
            this.groupBox2.Controls.Add(this.button1);
            this.groupBox2.Location = new System.Drawing.Point(9, 182);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(370, 190);
            this.groupBox2.TabIndex = 2;
            this.groupBox2.TabStop = false;
            // 
            // buttonComma
            // 
            this.buttonComma.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.buttonComma.Location = new System.Drawing.Point(65, 153);
            this.buttonComma.Name = "buttonComma";
            this.buttonComma.Size = new System.Drawing.Size(56, 28);
            this.buttonComma.TabIndex = 0;
            this.buttonComma.Text = ",";
            this.buttonComma.UseVisualStyleBackColor = true;
            this.buttonComma.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // buttonDot
            // 
            this.buttonDot.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.buttonDot.Location = new System.Drawing.Point(8, 153);
            this.buttonDot.Name = "buttonDot";
            this.buttonDot.Size = new System.Drawing.Size(56, 28);
            this.buttonDot.TabIndex = 0;
            this.buttonDot.Text = ".";
            this.buttonDot.UseVisualStyleBackColor = true;
            this.buttonDot.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // buttonRightBracket
            // 
            this.buttonRightBracket.Location = new System.Drawing.Point(183, 153);
            this.buttonRightBracket.Name = "buttonRightBracket";
            this.buttonRightBracket.Size = new System.Drawing.Size(56, 28);
            this.buttonRightBracket.TabIndex = 0;
            this.buttonRightBracket.Text = ")";
            this.buttonRightBracket.UseVisualStyleBackColor = true;
            this.buttonRightBracket.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
            // 
            // buttonE
            // 
            this.buttonE.Location = new System.Drawing.Point(166, 119);
            this.buttonE.Name = "buttonE";
            this.buttonE.Size = new System.Drawing.Size(73, 28);
            this.buttonE.TabIndex = 0;
            this.buttonE.Text = "E";
            this.buttonE.UseVisualStyleBackColor = true;
            this.buttonE.Click += new System.EventHandler(this.buttonE_Click);
            // 
            // buttonPI
            // 
            this.buttonPI.Location = new System.Drawing.Point(87, 119);
            this.buttonPI.Name = "buttonPI";
            this.buttonPI.Size = new System.Drawing.Size(73, 28);
            this.buttonPI.TabIndex = 0;
            this.buttonPI.Text = "Pi";
            this.buttonPI.UseVisualStyleBackColor = true;
            this.buttonPI.Click += new System.EventHandler(this.buttonPI_Click);
            // 
            // buttonLeftBracket
            // 
            this.buttonLeftBracket.Location = new System.Drawing.Point(125, 153);
            this.buttonLeftBracket.Name = "buttonLeftBracket";
            this.buttonLeftBracket.Size = new System.Drawing.Size(56, 28);
            this.buttonLeftBracket.TabIndex = 0;
            this.buttonLeftBracket.Text = "(";
            this.buttonLeftBracket.UseVisualStyleBackColor = true;
            this.buttonLeftBracket.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
            // 
            // button0
            // 
            this.button0.Location = new System.Drawing.Point(8, 119);
            this.button0.Name = "button0";
            this.button0.Size = new System.Drawing.Size(73, 28);
            this.button0.TabIndex = 0;
            this.button0.Text = "0";
            this.button0.UseVisualStyleBackColor = true;
            this.button0.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // button9
            // 
            this.button9.Location = new System.Drawing.Point(166, 85);
            this.button9.Name = "button9";
            this.button9.Size = new System.Drawing.Size(73, 28);
            this.button9.TabIndex = 0;
            this.button9.Text = "9";
            this.button9.UseVisualStyleBackColor = true;
            this.button9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // button8
            // 
            this.button8.Location = new System.Drawing.Point(87, 85);
            this.button8.Name = "button8";
            this.button8.Size = new System.Drawing.Size(73, 28);
            this.button8.TabIndex = 0;
            this.button8.Text = "8";
            this.button8.UseVisualStyleBackColor = true;
            this.button8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // button7
            // 
            this.button7.Location = new System.Drawing.Point(8, 85);
            this.button7.Name = "button7";
            this.button7.Size = new System.Drawing.Size(73, 28);
            this.button7.TabIndex = 0;
            this.button7.Text = "7";
            this.button7.UseVisualStyleBackColor = true;
            this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // button6
            // 
            this.button6.Location = new System.Drawing.Point(166, 51);
            this.button6.Name = "button6";
            this.button6.Size = new System.Drawing.Size(73, 28);
            this.button6.TabIndex = 0;
            this.button6.Text = "6";
            this.button6.UseVisualStyleBackColor = true;
            this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
            // 
            // button5
            // 
            this.button5.Location = new System.Drawing.Point(87, 51);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(73, 28);
            this.button5.TabIndex = 0;
            this.button5.Text = "5";
            this.button5.UseVisualStyleBackColor = true;
            this.button5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);

⌨️ 快捷键说明

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