namespace WindowsFormsPartial { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtNo1 = new System.Windows.Forms.TextBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.txtNo2 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.txtResult = new System.Windows.Forms.TextBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.txtResult); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Controls.Add(this.txtNo2); this.groupBox1.Controls.Add(this.comboBox1); this.groupBox1.Controls.Add(this.txtNo1); this.groupBox1.Location = new System.Drawing.Point(13, 13); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(451, 134); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "运算"; // // txtNo1 // this.txtNo1.Location = new System.Drawing.Point(28, 25); this.txtNo1.Name = "txtNo1"; this.txtNo1.Size = new System.Drawing.Size(100, 25); this.txtNo1.TabIndex = 0; // // comboBox1 // this.comboBox1.DropDownWidth = 59; this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "加", "减", "乘", "除"}); this.comboBox1.Location = new System.Drawing.Point(147, 26); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(59, 23); this.comboBox1.TabIndex = 1; // // txtNo2 // this.txtNo2.Location = new System.Drawing.Point(229, 26); this.txtNo2.Name = "txtNo2"; this.txtNo2.Size = new System.Drawing.Size(100, 25); this.txtNo2.TabIndex = 2; // // button1 // this.button1.Location = new System.Drawing.Point(353, 24); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(94, 30); this.button1.TabIndex = 3; this.button1.Text = "等于"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(28, 79); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 15); this.label1.TabIndex = 4; this.label1.Text = "运算结果:"; // // txtResult // this.txtResult.Location = new System.Drawing.Point(134, 74); this.txtResult.Name = "txtResult"; this.txtResult.Size = new System.Drawing.Size(313, 25); this.txtResult.TabIndex = 5; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(476, 162); this.Controls.Add(this.groupBox1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.TextBox txtResult; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button button1; private System.Windows.Forms.TextBox txtNo2; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.TextBox txtNo1; } }