namespace BasicCalculator { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.UserInputText = new System.Windows.Forms.TextBox(); this.CalculationResultText = new System.Windows.Forms.Label(); this.ButtonsPanel = new System.Windows.Forms.TableLayoutPanel(); this.EqualsButton = new System.Windows.Forms.Button(); this.DotButton = new System.Windows.Forms.Button(); this.ZeroButton = new System.Windows.Forms.Button(); this.PlusButton = new System.Windows.Forms.Button(); this.ThreeButton = new System.Windows.Forms.Button(); this.TwoButton = new System.Windows.Forms.Button(); this.OneButton = new System.Windows.Forms.Button(); this.MinusButton = new System.Windows.Forms.Button(); this.SixButton = new System.Windows.Forms.Button(); this.FiveButton = new System.Windows.Forms.Button(); this.FourButton = new System.Windows.Forms.Button(); this.TimesButton = new System.Windows.Forms.Button(); this.NineButton = new System.Windows.Forms.Button(); this.EightButton = new System.Windows.Forms.Button(); this.SevenButton = new System.Windows.Forms.Button(); this.DivideButton = new System.Windows.Forms.Button(); this.DelButton = new System.Windows.Forms.Button(); this.CEButton = new System.Windows.Forms.Button(); this.ButtonsPanel.SuspendLayout(); this.SuspendLayout(); // // UserInputText // this.UserInputText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.UserInputText.Location = new System.Drawing.Point(11, 12); this.UserInputText.Name = "UserInputText"; this.UserInputText.Size = new System.Drawing.Size(578, 29); this.UserInputText.TabIndex = 0; // // CalculationResultText // this.CalculationResultText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.CalculationResultText.Location = new System.Drawing.Point(11, 54); this.CalculationResultText.Name = "CalculationResultText"; this.CalculationResultText.Size = new System.Drawing.Size(578, 77); this.CalculationResultText.TabIndex = 1; this.CalculationResultText.Text = "Please enter an equation and press enter or ="; // // ButtonsPanel // this.ButtonsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ButtonsPanel.ColumnCount = 4; this.ButtonsPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.ButtonsPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.ButtonsPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.ButtonsPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.ButtonsPanel.Controls.Add(this.EqualsButton, 3, 4); this.ButtonsPanel.Controls.Add(this.DotButton, 2, 4); this.ButtonsPanel.Controls.Add(this.ZeroButton, 1, 4); this.ButtonsPanel.Controls.Add(this.PlusButton, 3, 3); this.ButtonsPanel.Controls.Add(this.ThreeButton, 2, 3); this.ButtonsPanel.Controls.Add(this.TwoButton, 1, 3); this.ButtonsPanel.Controls.Add(this.OneButton, 0, 3); this.ButtonsPanel.Controls.Add(this.MinusButton, 3, 2); this.ButtonsPanel.Controls.Add(this.SixButton, 2, 2); this.ButtonsPanel.Controls.Add(this.FiveButton, 1, 2); this.ButtonsPanel.Controls.Add(this.FourButton, 0, 2); this.ButtonsPanel.Controls.Add(this.TimesButton, 3, 1); this.ButtonsPanel.Controls.Add(this.NineButton, 2, 1); this.ButtonsPanel.Controls.Add(this.EightButton, 1, 1); this.ButtonsPanel.Controls.Add(this.SevenButton, 0, 1); this.ButtonsPanel.Controls.Add(this.DivideButton, 3, 0); this.ButtonsPanel.Controls.Add(this.DelButton, 2, 0); this.ButtonsPanel.Controls.Add(this.CEButton, 0, 0); this.ButtonsPanel.Location = new System.Drawing.Point(16, 134); this.ButtonsPanel.Name = "ButtonsPanel"; this.ButtonsPanel.RowCount = 5; this.ButtonsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.ButtonsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.ButtonsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.ButtonsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.ButtonsPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.ButtonsPanel.Size = new System.Drawing.Size(573, 486); this.ButtonsPanel.TabIndex = 2; // // EqualsButton // this.EqualsButton.Dock = System.Windows.Forms.DockStyle.Fill; this.EqualsButton.Location = new System.Drawing.Point(432, 391); this.EqualsButton.Name = "EqualsButton"; this.EqualsButton.Size = new System.Drawing.Size(138, 92); this.EqualsButton.TabIndex = 19; this.EqualsButton.Text = "="; this.EqualsButton.UseVisualStyleBackColor = true; this.EqualsButton.Click += new System.EventHandler(this.EqualsButton_Click); // // DotButton // this.DotButton.Dock = System.Windows.Forms.DockStyle.Fill; this.DotButton.Location = new System.Drawing.Point(289, 391); this.DotButton.Name = "DotButton"; this.DotButton.Size = new System.Drawing.Size(137, 92); this.DotButton.TabIndex = 18; this.DotButton.Text = "."; this.DotButton.UseVisualStyleBackColor = true; this.DotButton.Click += new System.EventHandler(this.DotButton_Click); // // ZeroButton // this.ZeroButton.Dock = System.Windows.Forms.DockStyle.Fill; this.ZeroButton.Location = new System.Drawing.Point(146, 391); this.ZeroButton.Name = "ZeroButton"; this.ZeroButton.Size = new System.Drawing.Size(137, 92); this.ZeroButton.TabIndex = 17; this.ZeroButton.Text = "0"; this.ZeroButton.UseVisualStyleBackColor = true; this.ZeroButton.Click += new System.EventHandler(this.ZeroButton_Click); // // PlusButton // this.PlusButton.Dock = System.Windows.Forms.DockStyle.Fill; this.PlusButton.Location = new System.Drawing.Point(432, 294); this.PlusButton.Name = "PlusButton"; this.PlusButton.Size = new System.Drawing.Size(138, 91); this.PlusButton.TabIndex = 15; this.PlusButton.Text = "+"; this.PlusButton.UseVisualStyleBackColor = true; this.PlusButton.Click += new System.EventHandler(this.PlusButton_Click); // // ThreeButton // this.ThreeButton.Dock = System.Windows.Forms.DockStyle.Fill; this.ThreeButton.Location = new System.Drawing.Point(289, 294); this.ThreeButton.Name = "ThreeButton"; this.ThreeButton.Size = new System.Drawing.Size(137, 91); this.ThreeButton.TabIndex = 14; this.ThreeButton.Text = "3"; this.ThreeButton.UseVisualStyleBackColor = true; this.ThreeButton.Click += new System.EventHandler(this.ThreeButton_Click); // // TwoButton // this.TwoButton.Dock = System.Windows.Forms.DockStyle.Fill; this.TwoButton.Location = new System.Drawing.Point(146, 294); this.TwoButton.Name = "TwoButton"; this.TwoButton.Size = new System.Drawing.Size(137, 91); this.TwoButton.TabIndex = 13; this.TwoButton.Text = "2"; this.TwoButton.UseVisualStyleBackColor = true; this.TwoButton.Click += new System.EventHandler(this.TwoButton_Click); // // OneButton // this.OneButton.Dock = System.Windows.Forms.DockStyle.Fill; this.OneButton.Location = new System.Drawing.Point(3, 294); this.OneButton.Name = "OneButton"; this.OneButton.Size = new System.Drawing.Size(137, 91); this.OneButton.TabIndex = 12; this.OneButton.Text = "1"; this.OneButton.UseVisualStyleBackColor = true; this.OneButton.Click += new System.EventHandler(this.OneButton_Click); // // MinusButton // this.MinusButton.Dock = System.Windows.Forms.DockStyle.Fill; this.MinusButton.Location = new System.Drawing.Point(432, 197); this.MinusButton.Name = "MinusButton"; this.MinusButton.Size = new System.Drawing.Size(138, 91); this.MinusButton.TabIndex = 11; this.MinusButton.Text = "-"; this.MinusButton.UseVisualStyleBackColor = true; this.MinusButton.Click += new System.EventHandler(this.MinusButton_Click); // // SixButton // this.SixButton.Dock = System.Windows.Forms.DockStyle.Fill; this.SixButton.Location = new System.Drawing.Point(289, 197); this.SixButton.Name = "SixButton"; this.SixButton.Size = new System.Drawing.Size(137, 91); this.SixButton.TabIndex = 10; this.SixButton.Text = "6"; this.SixButton.UseVisualStyleBackColor = true; this.SixButton.Click += new System.EventHandler(this.SixButton_Click); // // FiveButton // this.FiveButton.Dock = System.Windows.Forms.DockStyle.Fill; this.FiveButton.Location = new System.Drawing.Point(146, 197); this.FiveButton.Name = "FiveButton"; this.FiveButton.Size = new System.Drawing.Size(137, 91); this.FiveButton.TabIndex = 9; this.FiveButton.Text = "5"; this.FiveButton.UseVisualStyleBackColor = true; this.FiveButton.Click += new System.EventHandler(this.FiveButton_Click); // // FourButton // this.FourButton.Dock = System.Windows.Forms.DockStyle.Fill; this.FourButton.Location = new System.Drawing.Point(3, 197); this.FourButton.Name = "FourButton"; this.FourButton.Size = new System.Drawing.Size(137, 91); this.FourButton.TabIndex = 8; this.FourButton.Text = "4"; this.FourButton.UseVisualStyleBackColor = true; this.FourButton.Click += new System.EventHandler(this.FourButton_Click); // // TimesButton // this.TimesButton.Dock = System.Windows.Forms.DockStyle.Fill; this.TimesButton.Location = new System.Drawing.Point(432, 100); this.TimesButton.Name = "TimesButton"; this.TimesButton.Size = new System.Drawing.Size(138, 91); this.TimesButton.TabIndex = 7; this.TimesButton.Text = "X"; this.TimesButton.UseVisualStyleBackColor = true; this.TimesButton.Click += new System.EventHandler(this.TimesButton_Click); // // NineButton // this.NineButton.Dock = System.Windows.Forms.DockStyle.Fill; this.NineButton.Location = new System.Drawing.Point(289, 100); this.NineButton.Name = "NineButton"; this.NineButton.Size = new System.Drawing.Size(137, 91); this.NineButton.TabIndex = 6; this.NineButton.Text = "9"; this.NineButton.UseVisualStyleBackColor = true; this.NineButton.Click += new System.EventHandler(this.NineButton_Click); // // EightButton // this.EightButton.Dock = System.Windows.Forms.DockStyle.Fill; this.EightButton.Location = new System.Drawing.Point(146, 100); this.EightButton.Name = "EightButton"; this.EightButton.Size = new System.Drawing.Size(137, 91); this.EightButton.TabIndex = 5; this.EightButton.Text = "8"; this.EightButton.UseVisualStyleBackColor = true; this.EightButton.Click += new System.EventHandler(this.EightButton_Click); // // SevenButton // this.SevenButton.Dock = System.Windows.Forms.DockStyle.Fill; this.SevenButton.Location = new System.Drawing.Point(3, 100); this.SevenButton.Name = "SevenButton"; this.SevenButton.Size = new System.Drawing.Size(137, 91); this.SevenButton.TabIndex = 4; this.SevenButton.Text = "7"; this.SevenButton.UseVisualStyleBackColor = true; this.SevenButton.Click += new System.EventHandler(this.SevenButton_Click); // // DivideButton // this.DivideButton.Dock = System.Windows.Forms.DockStyle.Fill; this.DivideButton.Location = new System.Drawing.Point(432, 3); this.DivideButton.Name = "DivideButton"; this.DivideButton.Size = new System.Drawing.Size(138, 91); this.DivideButton.TabIndex = 3; this.DivideButton.Text = "%"; this.DivideButton.UseVisualStyleBackColor = true; this.DivideButton.Click += new System.EventHandler(this.DivideButton_Click); // // DelButton // this.DelButton.Dock = System.Windows.Forms.DockStyle.Fill; this.DelButton.Location = new System.Drawing.Point(289, 3); this.DelButton.Name = "DelButton"; this.DelButton.Size = new System.Drawing.Size(137, 91); this.DelButton.TabIndex = 2; this.DelButton.Text = "Del"; this.DelButton.UseVisualStyleBackColor = true; this.DelButton.Click += new System.EventHandler(this.DelButton_Click); // // CEButton // this.CEButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CEButton.Dock = System.Windows.Forms.DockStyle.Fill; this.CEButton.Location = new System.Drawing.Point(3, 3); this.CEButton.Name = "CEButton"; this.CEButton.Size = new System.Drawing.Size(137, 91); this.CEButton.TabIndex = 0; this.CEButton.Text = "CE"; this.CEButton.UseVisualStyleBackColor = true; this.CEButton.Click += new System.EventHandler(this.CEButton_Click); // // Form1 // this.AcceptButton = this.EqualsButton; this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.CEButton; this.ClientSize = new System.Drawing.Size(600, 632); this.Controls.Add(this.ButtonsPanel); this.Controls.Add(this.CalculationResultText); this.Controls.Add(this.UserInputText); this.MinimumSize = new System.Drawing.Size(460, 502); this.Name = "Form1"; this.Text = "Basic Calculator"; this.ButtonsPanel.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.TextBox UserInputText; private System.Windows.Forms.Label CalculationResultText; private System.Windows.Forms.TableLayoutPanel ButtonsPanel; private System.Windows.Forms.Button CEButton; private System.Windows.Forms.Button EqualsButton; private System.Windows.Forms.Button DotButton; private System.Windows.Forms.Button ZeroButton; private System.Windows.Forms.Button PlusButton; private System.Windows.Forms.Button ThreeButton; private System.Windows.Forms.Button TwoButton; private System.Windows.Forms.Button OneButton; private System.Windows.Forms.Button MinusButton; private System.Windows.Forms.Button SixButton; private System.Windows.Forms.Button FiveButton; private System.Windows.Forms.Button FourButton; private System.Windows.Forms.Button TimesButton; private System.Windows.Forms.Button NineButton; private System.Windows.Forms.Button EightButton; private System.Windows.Forms.Button SevenButton; private System.Windows.Forms.Button DivideButton; private System.Windows.Forms.Button DelButton; } }