📄 form1.designer.cs
字号:
namespace MathsOperators
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.expression = new System.Windows.Forms.TextBox();
this.quit = new System.Windows.Forms.Button();
this.calculate = new System.Windows.Forms.Button();
this.result = new System.Windows.Forms.TextBox();
this.rhsOperand = new System.Windows.Forms.TextBox();
this.lhsOperand = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.remainder = new System.Windows.Forms.RadioButton();
this.division = new System.Windows.Forms.RadioButton();
this.multiplication = new System.Windows.Forms.RadioButton();
this.subtraction = new System.Windows.Forms.RadioButton();
this.addition = new System.Windows.Forms.RadioButton();
this.lhs = new System.Windows.Forms.Label();
this.rhs = new System.Windows.Forms.Label();
this.expressionLabel = new System.Windows.Forms.Label();
this.resultLabel = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// expression
//
this.expression.Location = new System.Drawing.Point(112, 208);
this.expression.Name = "expression";
this.expression.ReadOnly = true;
this.expression.Size = new System.Drawing.Size(168, 21);
this.expression.TabIndex = 21;
//
// quit
//
this.quit.Location = new System.Drawing.Point(296, 254);
this.quit.Name = "quit";
this.quit.Size = new System.Drawing.Size(40, 23);
this.quit.TabIndex = 20;
this.quit.Text = "退出";
this.quit.Click += new System.EventHandler(this.quit_Click);
//
// calculate
//
this.calculate.Location = new System.Drawing.Point(16, 205);
this.calculate.Name = "calculate";
this.calculate.Size = new System.Drawing.Size(75, 23);
this.calculate.TabIndex = 19;
this.calculate.Text = "计算";
this.calculate.Click += new System.EventHandler(this.calculate_Click);
//
// result
//
this.result.Location = new System.Drawing.Point(16, 256);
this.result.Name = "result";
this.result.ReadOnly = true;
this.result.Size = new System.Drawing.Size(264, 21);
this.result.TabIndex = 18;
//
// rhsOperand
//
this.rhsOperand.Location = new System.Drawing.Point(256, 43);
this.rhsOperand.Name = "rhsOperand";
this.rhsOperand.Size = new System.Drawing.Size(80, 21);
this.rhsOperand.TabIndex = 15;
//
// lhsOperand
//
this.lhsOperand.Location = new System.Drawing.Point(16, 43);
this.lhsOperand.Name = "lhsOperand";
this.lhsOperand.Size = new System.Drawing.Size(80, 21);
this.lhsOperand.TabIndex = 13;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.remainder);
this.groupBox1.Controls.Add(this.division);
this.groupBox1.Controls.Add(this.multiplication);
this.groupBox1.Controls.Add(this.subtraction);
this.groupBox1.Controls.Add(this.addition);
this.groupBox1.Location = new System.Drawing.Point(112, 43);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(136, 136);
this.groupBox1.TabIndex = 22;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "运算符";
//
// remainder
//
this.remainder.Location = new System.Drawing.Point(16, 112);
this.remainder.Name = "remainder";
this.remainder.Size = new System.Drawing.Size(104, 16);
this.remainder.TabIndex = 4;
this.remainder.Text = "% 求余";
//
// division
//
this.division.Location = new System.Drawing.Point(16, 90);
this.division.Name = "division";
this.division.Size = new System.Drawing.Size(104, 16);
this.division.TabIndex = 3;
this.division.Text = "/ 除";
//
// multiplication
//
this.multiplication.Location = new System.Drawing.Point(16, 68);
this.multiplication.Name = "multiplication";
this.multiplication.Size = new System.Drawing.Size(104, 16);
this.multiplication.TabIndex = 2;
this.multiplication.Text = "* 乘";
//
// subtraction
//
this.subtraction.Location = new System.Drawing.Point(16, 46);
this.subtraction.Name = "subtraction";
this.subtraction.Size = new System.Drawing.Size(104, 16);
this.subtraction.TabIndex = 1;
this.subtraction.Text = "- 减";
//
// addition
//
this.addition.Location = new System.Drawing.Point(16, 24);
this.addition.Name = "addition";
this.addition.Size = new System.Drawing.Size(104, 16);
this.addition.TabIndex = 0;
this.addition.Text = "+ 加";
//
// lhs
//
this.lhs.Location = new System.Drawing.Point(16, 25);
this.lhs.Name = "lhs";
this.lhs.Size = new System.Drawing.Size(100, 23);
this.lhs.TabIndex = 23;
this.lhs.Text = "左操作数";
//
// rhs
//
this.rhs.Location = new System.Drawing.Point(256, 25);
this.rhs.Name = "rhs";
this.rhs.Size = new System.Drawing.Size(100, 23);
this.rhs.TabIndex = 24;
this.rhs.Text = "右操作数";
//
// expressionLabel
//
this.expressionLabel.Location = new System.Drawing.Point(112, 186);
this.expressionLabel.Name = "expressionLabel";
this.expressionLabel.Size = new System.Drawing.Size(64, 23);
this.expressionLabel.TabIndex = 26;
this.expressionLabel.Text = "表达式";
//
// resultLabel
//
this.resultLabel.Location = new System.Drawing.Point(16, 235);
this.resultLabel.Name = "resultLabel";
this.resultLabel.Size = new System.Drawing.Size(89, 23);
this.resultLabel.TabIndex = 25;
this.resultLabel.Text = "结果";
//
// Form1
//
this.ClientSize = new System.Drawing.Size(352, 285);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.expression);
this.Controls.Add(this.quit);
this.Controls.Add(this.calculate);
this.Controls.Add(this.result);
this.Controls.Add(this.rhsOperand);
this.Controls.Add(this.lhsOperand);
this.Controls.Add(this.expressionLabel);
this.Controls.Add(this.resultLabel);
this.Controls.Add(this.rhs);
this.Controls.Add(this.lhs);
this.Name = "Form1";
this.Text = "Maths Operators";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox expression;
private System.Windows.Forms.Button quit;
private System.Windows.Forms.Button calculate;
private System.Windows.Forms.TextBox result;
private System.Windows.Forms.TextBox rhsOperand;
private System.Windows.Forms.TextBox lhsOperand;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.RadioButton remainder;
private System.Windows.Forms.RadioButton division;
private System.Windows.Forms.RadioButton multiplication;
private System.Windows.Forms.RadioButton subtraction;
private System.Windows.Forms.RadioButton addition;
private System.Windows.Forms.Label lhs;
private System.Windows.Forms.Label rhs;
private System.Windows.Forms.Label expressionLabel;
private System.Windows.Forms.Label resultLabel;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -