private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch14Smp3Form)); this.infixAETextBox = new LibETextBox.AETextBox(); this.infixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.calcButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.aTextBox = new LibETextBox.ETextBox(); this.bTextBox = new LibETextBox.ETextBox(); this.cTextBox = new LibETextBox.ETextBox(); this.dTextBox = new LibETextBox.ETextBox(); this.aLabel = new System.Windows.Forms.Label(); this.bLabel = new System.Windows.Forms.Label(); this.cLabel = new System.Windows.Forms.Label(); this.dLabel = new System.Windows.Forms.Label(); this.valueDisplay = new System.Windows.Forms.Label(); this.valueLabel = new System.Windows.Forms.Label(); this.sLabel = new System.Windows.Forms.Label(); this.sTextBox = new LibETextBox.ETextBox(); this.tLabel = new System.Windows.Forms.Label(); this.tTextBox = new LibETextBox.ETextBox(); this.SuspendLayout(); // // infixAETextBox // this.infixAETextBox.Location = new System.Drawing.Point(56, 170); this.infixAETextBox.Name = "infixAETextBox"; this.infixAETextBox.Size = new System.Drawing.Size(363, 27); this.infixAETextBox.TabIndex = 12; this.infixAETextBox.TextChanged += new System.EventHandler(this.infixTextBox_TextChanged); // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(67, 140); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(341, 25); this.infixLabel.TabIndex = 13; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(56, 240); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(363, 25); this.postfixDisplay.TabIndex = 14; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(67, 210); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(341, 25); this.postfixLabel.TabIndex = 15; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calcButton // this.calcButton.Location = new System.Drawing.Point(124, 359); this.calcButton.Name = "calcButton"; this.calcButton.Size = new System.Drawing.Size(100, 27); this.calcButton.TabIndex = 18; this.calcButton.Text = "Calculate"; this.calcButton.Click += new System.EventHandler(this.calcButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(241, 359); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(100, 27); this.quitButton.TabIndex = 19; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // aTextBox // this.aTextBox.Location = new System.Drawing.Point(93, 36); this.aTextBox.Name = "aTextBox"; this.aTextBox.Size = new System.Drawing.Size(64, 27); this.aTextBox.TabIndex = 0; this.aTextBox.Text = "0.0"; this.aTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // bTextBox // this.bTextBox.Location = new System.Drawing.Point(168, 36); this.bTextBox.Name = "bTextBox"; this.bTextBox.Size = new System.Drawing.Size(64, 27); this.bTextBox.TabIndex = 2; this.bTextBox.Text = "0.0"; this.bTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // cTextBox // this.cTextBox.Location = new System.Drawing.Point(243, 36); this.cTextBox.Name = "cTextBox"; this.cTextBox.Size = new System.Drawing.Size(64, 27); this.cTextBox.TabIndex = 4; this.cTextBox.Text = "0.0"; this.cTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // dTextBox // this.dTextBox.Location = new System.Drawing.Point(317, 36); this.dTextBox.Name = "dTextBox"; this.dTextBox.Size = new System.Drawing.Size(64, 27); this.dTextBox.TabIndex = 6; this.dTextBox.Text = "0.0"; this.dTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // aLabel // this.aLabel.Location = new System.Drawing.Point(115, 10); this.aLabel.Name = "aLabel"; this.aLabel.Size = new System.Drawing.Size(21, 20); this.aLabel.TabIndex = 1; this.aLabel.Text = "a"; this.aLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // bLabel // this.bLabel.Location = new System.Drawing.Point(191, 10); this.bLabel.Name = "bLabel"; this.bLabel.Size = new System.Drawing.Size(21, 20); this.bLabel.TabIndex = 3; this.bLabel.Text = "b"; this.bLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cLabel // this.cLabel.Location = new System.Drawing.Point(264, 10); this.cLabel.Name = "cLabel"; this.cLabel.Size = new System.Drawing.Size(21, 20); this.cLabel.TabIndex = 5; this.cLabel.Text = "c"; this.cLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // dLabel // this.dLabel.Location = new System.Drawing.Point(339, 10); this.dLabel.Name = "dLabel"; this.dLabel.Size = new System.Drawing.Size(21, 20); this.dLabel.TabIndex = 7; this.dLabel.Text = "d"; this.dLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // valueDisplay // this.valueDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.valueDisplay.Location = new System.Drawing.Point(187, 306); this.valueDisplay.Name = "valueDisplay"; this.valueDisplay.Size = new System.Drawing.Size(101, 25); this.valueDisplay.TabIndex = 16; this.valueDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // valueLabel // this.valueLabel.Location = new System.Drawing.Point(211, 280); this.valueLabel.Name = "valueLabel"; this.valueLabel.Size = new System.Drawing.Size(53, 20); this.valueLabel.TabIndex = 17; this.valueLabel.Text = "value"; this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sLabel // this.sLabel.Location = new System.Drawing.Point(189, 72); this.sLabel.Name = "sLabel"; this.sLabel.Size = new System.Drawing.Size(22, 20); this.sLabel.TabIndex = 9; this.sLabel.Text = "s"; this.sLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sTextBox // this.sTextBox.Location = new System.Drawing.Point(168, 99); this.sTextBox.Name = "sTextBox"; this.sTextBox.Size = new System.Drawing.Size(64, 27); this.sTextBox.TabIndex = 8; this.sTextBox.Text = "0.0"; // // tLabel // this.tLabel.Location = new System.Drawing.Point(264, 72); this.tLabel.Name = "tLabel"; this.tLabel.Size = new System.Drawing.Size(21, 20); this.tLabel.TabIndex = 11; this.tLabel.Text = "t"; this.tLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tTextBox // this.tTextBox.Location = new System.Drawing.Point(243, 99); this.tTextBox.Name = "tTextBox"; this.tTextBox.Size = new System.Drawing.Size(64, 27); this.tTextBox.TabIndex = 10; this.tTextBox.Text = "0.0"; // // Ch14Smp3Form // this.AcceptButton = this.calcButton; this.AutoScaleBaseSize = new System.Drawing.Size(8, 20); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(577, 418); this.Controls.Add(this.tLabel); this.Controls.Add(this.tTextBox); this.Controls.Add(this.sLabel); this.Controls.Add(this.sTextBox); this.Controls.Add(this.valueLabel); this.Controls.Add(this.valueDisplay); this.Controls.Add(this.dLabel); this.Controls.Add(this.cLabel); this.Controls.Add(this.bLabel); this.Controls.Add(this.aLabel); this.Controls.Add(this.dTextBox); this.Controls.Add(this.cTextBox); this.Controls.Add(this.bTextBox); this.Controls.Add(this.aTextBox); this.Controls.Add(this.quitButton); this.Controls.Add(this.calcButton); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixAETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch14Smp3Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch14Smp3: Evaluate Infix Expression"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch15Smp1Form)); this.infixAETextBox = new AETextBox(); this.infixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.calcButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.aTextBox = new ETextBox(); this.bTextBox = new ETextBox(); this.cTextBox = new ETextBox(); this.dTextBox = new ETextBox(); this.aLabel = new System.Windows.Forms.Label(); this.bLabel = new System.Windows.Forms.Label(); this.cLabel = new System.Windows.Forms.Label(); this.dLabel = new System.Windows.Forms.Label(); this.valueDisplay = new System.Windows.Forms.Label(); this.valueLabel = new System.Windows.Forms.Label(); this.sLabel = new System.Windows.Forms.Label(); this.sTextBox = new ETextBox(); this.tLabel = new System.Windows.Forms.Label(); this.tTextBox = new ETextBox(); this.SuspendLayout(); // // infixAETextBox // this.infixAETextBox.Location = new System.Drawing.Point(42, 136); this.infixAETextBox.Name = "infixAETextBox"; this.infixAETextBox.Size = new System.Drawing.Size(272, 23); this.infixAETextBox.TabIndex = 12; this.infixAETextBox.TextChanged += new System.EventHandler(this.infixTextBox_TextChanged); // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(50, 112); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(256, 20); this.infixLabel.TabIndex = 13; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(42, 192); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(272, 20); this.postfixDisplay.TabIndex = 14; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(50, 168); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(256, 20); this.postfixLabel.TabIndex = 15; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // calcButton // this.calcButton.Location = new System.Drawing.Point(93, 287); this.calcButton.Name = "calcButton"; this.calcButton.Size = new System.Drawing.Size(75, 22); this.calcButton.TabIndex = 18; this.calcButton.Text = "Calculate"; this.calcButton.Click += new System.EventHandler(this.calcButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(181, 287); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(75, 22); this.quitButton.TabIndex = 19; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // aTextBox // this.aTextBox.Location = new System.Drawing.Point(70, 29); this.aTextBox.Name = "aTextBox"; this.aTextBox.Size = new System.Drawing.Size(48, 23); this.aTextBox.TabIndex = 0; this.aTextBox.Text = "0.0"; this.aTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // bTextBox // this.bTextBox.Location = new System.Drawing.Point(126, 29); this.bTextBox.Name = "bTextBox"; this.bTextBox.Size = new System.Drawing.Size(48, 23); this.bTextBox.TabIndex = 2; this.bTextBox.Text = "0.0"; this.bTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // cTextBox // this.cTextBox.Location = new System.Drawing.Point(182, 29); this.cTextBox.Name = "cTextBox"; this.cTextBox.Size = new System.Drawing.Size(48, 23); this.cTextBox.TabIndex = 4; this.cTextBox.Text = "0.0"; this.cTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // dTextBox // this.dTextBox.Location = new System.Drawing.Point(238, 29); this.dTextBox.Name = "dTextBox"; this.dTextBox.Size = new System.Drawing.Size(48, 23); this.dTextBox.TabIndex = 6; this.dTextBox.Text = "0.0"; this.dTextBox.TextChanged += new System.EventHandler(this.operandTextBox_TextChanged); // // aLabel // this.aLabel.Location = new System.Drawing.Point(86, 8); this.aLabel.Name = "aLabel"; this.aLabel.Size = new System.Drawing.Size(16, 16); this.aLabel.TabIndex = 1; this.aLabel.Text = "a"; this.aLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // bLabel // this.bLabel.Location = new System.Drawing.Point(143, 8); this.bLabel.Name = "bLabel"; this.bLabel.Size = new System.Drawing.Size(16, 16); this.bLabel.TabIndex = 3; this.bLabel.Text = "b"; this.bLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cLabel // this.cLabel.Location = new System.Drawing.Point(198, 8); this.cLabel.Name = "cLabel"; this.cLabel.Size = new System.Drawing.Size(16, 16); this.cLabel.TabIndex = 5; this.cLabel.Text = "c"; this.cLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // dLabel // this.dLabel.Location = new System.Drawing.Point(254, 8); this.dLabel.Name = "dLabel"; this.dLabel.Size = new System.Drawing.Size(16, 16); this.dLabel.TabIndex = 7; this.dLabel.Text = "d"; this.dLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // valueDisplay // this.valueDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.valueDisplay.Location = new System.Drawing.Point(140, 245); this.valueDisplay.Name = "valueDisplay"; this.valueDisplay.Size = new System.Drawing.Size(76, 20); this.valueDisplay.TabIndex = 16; this.valueDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // valueLabel // this.valueLabel.Location = new System.Drawing.Point(158, 224); this.valueLabel.Name = "valueLabel"; this.valueLabel.Size = new System.Drawing.Size(40, 16); this.valueLabel.TabIndex = 17; this.valueLabel.Text = "value"; this.valueLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sLabel // this.sLabel.Location = new System.Drawing.Point(142, 58); this.sLabel.Name = "sLabel"; this.sLabel.Size = new System.Drawing.Size(16, 16); this.sLabel.TabIndex = 9; this.sLabel.Text = "s"; this.sLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sTextBox // this.sTextBox.Location = new System.Drawing.Point(126, 79); this.sTextBox.Name = "sTextBox"; this.sTextBox.Size = new System.Drawing.Size(48, 23); this.sTextBox.TabIndex = 8; this.sTextBox.Text = "0.0"; // // tLabel // this.tLabel.Location = new System.Drawing.Point(198, 58); this.tLabel.Name = "tLabel"; this.tLabel.Size = new System.Drawing.Size(16, 16); this.tLabel.TabIndex = 11; this.tLabel.Text = "t"; this.tLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tTextBox // this.tTextBox.Location = new System.Drawing.Point(182, 79); this.tTextBox.Name = "tTextBox"; this.tTextBox.Size = new System.Drawing.Size(48, 23); this.tTextBox.TabIndex = 10; this.tTextBox.Text = "0.0"; // // Ch15Smp1Form // this.AcceptButton = this.calcButton; this.AutoScaleBaseSize = new System.Drawing.Size(6, 16); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(357, 320); this.Controls.Add(this.tLabel); this.Controls.Add(this.tTextBox); this.Controls.Add(this.sLabel); this.Controls.Add(this.sTextBox); this.Controls.Add(this.valueLabel); this.Controls.Add(this.valueDisplay); this.Controls.Add(this.dLabel); this.Controls.Add(this.cLabel); this.Controls.Add(this.bLabel); this.Controls.Add(this.aLabel); this.Controls.Add(this.dTextBox); this.Controls.Add(this.cTextBox); this.Controls.Add(this.bTextBox); this.Controls.Add(this.aTextBox); this.Controls.Add(this.quitButton); this.Controls.Add(this.calcButton); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixAETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch15Smp1Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch15Smp1: Evaluate Infix Expression"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ch14Smp2Form)); this.infixAETextBox = new LibETextBox.AETextBox(); this.infixLabel = new System.Windows.Forms.Label(); this.postfixDisplay = new System.Windows.Forms.Label(); this.postfixLabel = new System.Windows.Forms.Label(); this.convertButton = new System.Windows.Forms.Button(); this.quitButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // infixAETextBox // this.infixAETextBox.Location = new System.Drawing.Point(27, 40); this.infixAETextBox.Name = "infixAETextBox"; this.infixAETextBox.Size = new System.Drawing.Size(362, 27); this.infixAETextBox.TabIndex = 0; this.infixAETextBox.TextChanged += new System.EventHandler(this.infixETextBox_TextChanged); // // infixLabel // this.infixLabel.Location = new System.Drawing.Point(37, 10); this.infixLabel.Name = "infixLabel"; this.infixLabel.Size = new System.Drawing.Size(342, 25); this.infixLabel.TabIndex = 1; this.infixLabel.Text = "Infix Expression"; this.infixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // postfixDisplay // this.postfixDisplay.BackColor = System.Drawing.SystemColors.Control; this.postfixDisplay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.postfixDisplay.Location = new System.Drawing.Point(27, 110); this.postfixDisplay.Name = "postfixDisplay"; this.postfixDisplay.Size = new System.Drawing.Size(362, 29); this.postfixDisplay.TabIndex = 2; this.postfixDisplay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // postfixLabel // this.postfixLabel.Location = new System.Drawing.Point(37, 80); this.postfixLabel.Name = "postfixLabel"; this.postfixLabel.Size = new System.Drawing.Size(342, 25); this.postfixLabel.TabIndex = 3; this.postfixLabel.Text = "Postfix Expression"; this.postfixLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // convertButton // this.convertButton.Location = new System.Drawing.Point(95, 164); this.convertButton.Name = "convertButton"; this.convertButton.Size = new System.Drawing.Size(100, 27); this.convertButton.TabIndex = 4; this.convertButton.Text = "Convert"; this.convertButton.Click += new System.EventHandler(this.convertButton_Click); // // quitButton // this.quitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.quitButton.Location = new System.Drawing.Point(212, 164); this.quitButton.Name = "quitButton"; this.quitButton.Size = new System.Drawing.Size(100, 27); this.quitButton.TabIndex = 5; this.quitButton.Text = "Quit"; this.quitButton.Click += new System.EventHandler(this.quitButton_Click); // // Ch14Smp2Form // this.AcceptButton = this.convertButton; this.AutoScaleBaseSize = new System.Drawing.Size(8, 20); this.CancelButton = this.quitButton; this.ClientSize = new System.Drawing.Size(544, 225); this.Controls.Add(this.quitButton); this.Controls.Add(this.convertButton); this.Controls.Add(this.postfixLabel); this.Controls.Add(this.postfixDisplay); this.Controls.Add(this.infixLabel); this.Controls.Add(this.infixAETextBox); this.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "Ch14Smp2Form"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Ch14Smp2: Convert Infix to Postfix"; this.ResumeLayout(false); this.PerformLayout(); }