📄 form1.designer.cs
字号:
//
// button4
//
this.button4.Location = new System.Drawing.Point(8, 51);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(73, 28);
this.button4.TabIndex = 0;
this.button4.Text = "4";
this.button4.UseVisualStyleBackColor = true;
this.button4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
//
// buttonBackspace
//
this.buttonBackspace.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.buttonBackspace.Location = new System.Drawing.Point(258, 51);
this.buttonBackspace.Name = "buttonBackspace";
this.buttonBackspace.Size = new System.Drawing.Size(106, 28);
this.buttonBackspace.TabIndex = 0;
this.buttonBackspace.Text = "Backspace";
this.buttonBackspace.UseVisualStyleBackColor = true;
this.buttonBackspace.Click += new System.EventHandler(this.buttonBackspace_Click);
//
// buttonIs
//
this.buttonIs.Location = new System.Drawing.Point(258, 17);
this.buttonIs.Name = "buttonIs";
this.buttonIs.Size = new System.Drawing.Size(106, 28);
this.buttonIs.TabIndex = 0;
this.buttonIs.Text = "=";
this.buttonIs.UseVisualStyleBackColor = true;
this.buttonIs.Click += new System.EventHandler(this.buttonIs_Click);
//
// buttonMinus
//
this.buttonMinus.Location = new System.Drawing.Point(313, 119);
this.buttonMinus.Name = "buttonMinus";
this.buttonMinus.Size = new System.Drawing.Size(51, 28);
this.buttonMinus.TabIndex = 0;
this.buttonMinus.Text = "-";
this.buttonMinus.UseVisualStyleBackColor = true;
this.buttonMinus.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
//
// buttonDivide
//
this.buttonDivide.Location = new System.Drawing.Point(313, 153);
this.buttonDivide.Name = "buttonDivide";
this.buttonDivide.Size = new System.Drawing.Size(51, 28);
this.buttonDivide.TabIndex = 0;
this.buttonDivide.Text = "/";
this.buttonDivide.UseVisualStyleBackColor = true;
this.buttonDivide.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
//
// buttonMulti
//
this.buttonMulti.Location = new System.Drawing.Point(258, 153);
this.buttonMulti.Name = "buttonMulti";
this.buttonMulti.Size = new System.Drawing.Size(51, 28);
this.buttonMulti.TabIndex = 0;
this.buttonMulti.Text = "*";
this.buttonMulti.UseVisualStyleBackColor = true;
this.buttonMulti.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
//
// buttonAdd
//
this.buttonAdd.Location = new System.Drawing.Point(258, 119);
this.buttonAdd.Name = "buttonAdd";
this.buttonAdd.Size = new System.Drawing.Size(51, 28);
this.buttonAdd.TabIndex = 0;
this.buttonAdd.Text = "+";
this.buttonAdd.UseVisualStyleBackColor = true;
this.buttonAdd.MouseDown += new System.Windows.Forms.MouseEventHandler(this.operatorButtonDown);
//
// buttonClear
//
this.buttonClear.Location = new System.Drawing.Point(258, 85);
this.buttonClear.Name = "buttonClear";
this.buttonClear.Size = new System.Drawing.Size(106, 28);
this.buttonClear.TabIndex = 0;
this.buttonClear.Text = "Clear";
this.buttonClear.UseVisualStyleBackColor = true;
this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(166, 17);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(73, 28);
this.button3.TabIndex = 0;
this.button3.Text = "3";
this.button3.UseVisualStyleBackColor = true;
this.button3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
//
// button2
//
this.button2.Location = new System.Drawing.Point(87, 17);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(73, 28);
this.button2.TabIndex = 0;
this.button2.Text = "2";
this.button2.UseVisualStyleBackColor = true;
this.button2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
//
// button1
//
this.button1.Location = new System.Drawing.Point(8, 17);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(73, 28);
this.button1.TabIndex = 0;
this.button1.Text = "1";
this.button1.UseVisualStyleBackColor = true;
this.button1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.digitalButtonDown);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.groupBox4);
this.groupBox3.Controls.Add(this.buttonAddFunction);
this.groupBox3.Controls.Add(this.panelFunctionButtons);
this.groupBox3.Location = new System.Drawing.Point(394, 17);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(335, 354);
this.groupBox3.TabIndex = 3;
this.groupBox3.TabStop = false;
//
// groupBox4
//
this.groupBox4.Location = new System.Drawing.Point(13, 299);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(311, 8);
this.groupBox4.TabIndex = 2;
this.groupBox4.TabStop = false;
//
// buttonAddFunction
//
this.buttonAddFunction.Location = new System.Drawing.Point(198, 310);
this.buttonAddFunction.Name = "buttonAddFunction";
this.buttonAddFunction.Size = new System.Drawing.Size(126, 38);
this.buttonAddFunction.TabIndex = 1;
this.buttonAddFunction.Text = "添加函数";
this.buttonAddFunction.UseVisualStyleBackColor = true;
this.buttonAddFunction.Click += new System.EventHandler(this.buttonAddFunction_Click);
//
// panelFunctionButtons
//
this.panelFunctionButtons.AutoScroll = true;
this.panelFunctionButtons.Location = new System.Drawing.Point(16, 20);
this.panelFunctionButtons.Name = "panelFunctionButtons";
this.panelFunctionButtons.Size = new System.Drawing.Size(308, 273);
this.panelFunctionButtons.TabIndex = 0;
//
// contextMenuStripOfFunctionButton
//
this.contextMenuStripOfFunctionButton.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItemEditFunction,
this.toolStripSeparator1,
this.ToolStripMenuItemDeleteFunction});
this.contextMenuStripOfFunctionButton.Name = "contextMenuStripOfFunctionButton";
this.contextMenuStripOfFunctionButton.Size = new System.Drawing.Size(131, 54);
//
// ToolStripMenuItemEditFunction
//
this.ToolStripMenuItemEditFunction.Name = "ToolStripMenuItemEditFunction";
this.ToolStripMenuItemEditFunction.Size = new System.Drawing.Size(130, 22);
this.ToolStripMenuItemEditFunction.Text = "编辑此函数";
this.ToolStripMenuItemEditFunction.Click += new System.EventHandler(this.ToolStripMenuItemEditFunction_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(127, 6);
//
// ToolStripMenuItemDeleteFunction
//
this.ToolStripMenuItemDeleteFunction.Name = "ToolStripMenuItemDeleteFunction";
this.ToolStripMenuItemDeleteFunction.Size = new System.Drawing.Size(130, 22);
this.ToolStripMenuItemDeleteFunction.Text = "删除此函数";
this.ToolStripMenuItemDeleteFunction.Click += new System.EventHandler(this.ToolStripMenuItemDeleteFunction_Click);
//
// labelAbout
//
this.labelAbout.AutoSize = true;
this.labelAbout.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.labelAbout.ForeColor = System.Drawing.Color.Blue;
this.labelAbout.Location = new System.Drawing.Point(688, 9);
this.labelAbout.Name = "labelAbout";
this.labelAbout.Size = new System.Drawing.Size(29, 12);
this.labelAbout.TabIndex = 4;
this.labelAbout.Text = "关于";
this.labelAbout.Click += new System.EventHandler(this.labelAbout_Click);
//
// FormMain
//
this.AcceptButton = this.buttonIs;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.buttonBackspace;
this.ClientSize = new System.Drawing.Size(743, 386);
this.Controls.Add(this.labelAbout);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "FormMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "可编程表达式计算器";
this.Load += new System.EventHandler(this.FormMain_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.contextMenuStripOfFunctionButton.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.RichTextBox richTextBoxInput;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.RichTextBox richTextBoxOutput;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button button0;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button buttonBackspace;
private System.Windows.Forms.Button buttonClear;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button buttonRightBracket;
private System.Windows.Forms.Button buttonLeftBracket;
private System.Windows.Forms.Button buttonIs;
private System.Windows.Forms.Button buttonDot;
private System.Windows.Forms.Button buttonE;
private System.Windows.Forms.Button buttonPI;
private System.Windows.Forms.Button buttonMinus;
private System.Windows.Forms.Button buttonDivide;
private System.Windows.Forms.Button buttonMulti;
private System.Windows.Forms.Button buttonAdd;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button buttonAddFunction;
private System.Windows.Forms.Panel panelFunctionButtons;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.ContextMenuStrip contextMenuStripOfFunctionButton;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemEditFunction;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemDeleteFunction;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.Button buttonComma;
private System.Windows.Forms.Label labelAbout;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -