/* * MIT License * * Copyright (c) 2017 Michael VanOverbeek and ShiftOS devs * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ namespace ShiftOS.WinForms.Applications { partial class Calculator { /// /// 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 Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.numBox = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.button7 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.button9 = new System.Windows.Forms.Button(); this.button10 = new System.Windows.Forms.Button(); this.buttonEquals = new System.Windows.Forms.Button(); this.buttonPlus = new System.Windows.Forms.Button(); this.buttonMinus = new System.Windows.Forms.Button(); this.buttonMultiply = new System.Windows.Forms.Button(); this.buttonDivide = new System.Windows.Forms.Button(); this.buttonC = new System.Windows.Forms.Button(); this.buttonCE = new System.Windows.Forms.Button(); this.buttonDecimal = new System.Windows.Forms.Button(); this.SuspendLayout(); // // numBox // this.numBox.BackColor = System.Drawing.SystemColors.Window; this.numBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.numBox.Location = new System.Drawing.Point(4, 3); this.numBox.Name = "numBox"; this.numBox.ReadOnly = true; this.numBox.Size = new System.Drawing.Size(143, 30); this.numBox.TabIndex = 0; this.numBox.TextChanged += new System.EventHandler(this.numBox_TextChanged); // // button1 // this.button1.Location = new System.Drawing.Point(4, 39); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(22, 22); this.button1.TabIndex = 2; this.button1.Text = "1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(32, 39); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(22, 22); this.button2.TabIndex = 3; this.button2.Text = "2"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Location = new System.Drawing.Point(60, 39); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(22, 22); this.button3.TabIndex = 4; this.button3.Text = "3"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.Location = new System.Drawing.Point(4, 67); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(22, 22); this.button4.TabIndex = 5; this.button4.Text = "4"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // button5 // this.button5.Location = new System.Drawing.Point(32, 67); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(22, 22); this.button5.TabIndex = 6; this.button5.Text = "5"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // button6 // this.button6.Location = new System.Drawing.Point(60, 67); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(22, 22); this.button6.TabIndex = 7; this.button6.Text = "6"; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click); // // button7 // this.button7.Location = new System.Drawing.Point(4, 95); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(22, 22); this.button7.TabIndex = 8; this.button7.Text = "7"; this.button7.UseVisualStyleBackColor = true; this.button7.Click += new System.EventHandler(this.button7_Click); // // button8 // this.button8.Location = new System.Drawing.Point(32, 95); this.button8.Name = "button8"; this.button8.Size = new System.Drawing.Size(22, 22); this.button8.TabIndex = 9; this.button8.Text = "8"; this.button8.UseVisualStyleBackColor = true; this.button8.Click += new System.EventHandler(this.button8_Click); // // button9 // this.button9.Location = new System.Drawing.Point(60, 95); this.button9.Name = "button9"; this.button9.Size = new System.Drawing.Size(22, 22); this.button9.TabIndex = 10; this.button9.Text = "9"; this.button9.UseVisualStyleBackColor = true; this.button9.Click += new System.EventHandler(this.button9_Click); // // button10 // this.button10.Location = new System.Drawing.Point(4, 123); this.button10.Name = "button10"; this.button10.Size = new System.Drawing.Size(22, 22); this.button10.TabIndex = 11; this.button10.Text = "0"; this.button10.UseVisualStyleBackColor = true; this.button10.Click += new System.EventHandler(this.button10_Click); // // buttonEquals // this.buttonEquals.Location = new System.Drawing.Point(60, 123); this.buttonEquals.Name = "buttonEquals"; this.buttonEquals.Size = new System.Drawing.Size(22, 22); this.buttonEquals.TabIndex = 12; this.buttonEquals.Text = "="; this.buttonEquals.UseVisualStyleBackColor = true; this.buttonEquals.Click += new System.EventHandler(this.buttonEquals_Click); // // buttonPlus // this.buttonPlus.Location = new System.Drawing.Point(125, 39); this.buttonPlus.Name = "buttonPlus"; this.buttonPlus.Size = new System.Drawing.Size(22, 22); this.buttonPlus.TabIndex = 13; this.buttonPlus.Text = "+"; this.buttonPlus.UseVisualStyleBackColor = true; this.buttonPlus.Click += new System.EventHandler(this.buttonPlus_Click); // // buttonMinus // this.buttonMinus.Location = new System.Drawing.Point(125, 67); this.buttonMinus.Name = "buttonMinus"; this.buttonMinus.Size = new System.Drawing.Size(22, 22); this.buttonMinus.TabIndex = 14; this.buttonMinus.Text = "-"; this.buttonMinus.UseVisualStyleBackColor = true; this.buttonMinus.Click += new System.EventHandler(this.buttonMinus_Click); // // buttonMultiply // this.buttonMultiply.Location = new System.Drawing.Point(125, 95); this.buttonMultiply.Name = "buttonMultiply"; this.buttonMultiply.Size = new System.Drawing.Size(22, 22); this.buttonMultiply.TabIndex = 15; this.buttonMultiply.Text = "x"; this.buttonMultiply.UseVisualStyleBackColor = true; this.buttonMultiply.Click += new System.EventHandler(this.buttonMultiply_Click); // // buttonDivide // this.buttonDivide.Location = new System.Drawing.Point(125, 123); this.buttonDivide.Name = "buttonDivide"; this.buttonDivide.Size = new System.Drawing.Size(22, 22); this.buttonDivide.TabIndex = 16; this.buttonDivide.Text = "/"; this.buttonDivide.UseVisualStyleBackColor = true; this.buttonDivide.Click += new System.EventHandler(this.buttonDivide_Click); // // buttonC // this.buttonC.Location = new System.Drawing.Point(88, 39); this.buttonC.Name = "buttonC"; this.buttonC.Size = new System.Drawing.Size(31, 22); this.buttonC.TabIndex = 17; this.buttonC.Text = "C"; this.buttonC.UseVisualStyleBackColor = true; this.buttonC.Click += new System.EventHandler(this.buttonC_Click); // // buttonCE // this.buttonCE.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonCE.Location = new System.Drawing.Point(88, 67); this.buttonCE.Name = "buttonCE"; this.buttonCE.Size = new System.Drawing.Size(31, 22); this.buttonCE.TabIndex = 18; this.buttonCE.Text = "CE"; this.buttonCE.UseVisualStyleBackColor = true; this.buttonCE.Click += new System.EventHandler(this.buttonCE_Click); // // buttonDecimal // this.buttonDecimal.Location = new System.Drawing.Point(32, 123); this.buttonDecimal.Name = "buttonDecimal"; this.buttonDecimal.Size = new System.Drawing.Size(22, 22); this.buttonDecimal.TabIndex = 19; this.buttonDecimal.Text = "."; this.buttonDecimal.UseVisualStyleBackColor = true; this.buttonDecimal.Click += new System.EventHandler(this.buttonDecimal_Click); // // Calculator // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.buttonDecimal); this.Controls.Add(this.buttonCE); this.Controls.Add(this.buttonC); this.Controls.Add(this.buttonDivide); this.Controls.Add(this.buttonMultiply); this.Controls.Add(this.buttonMinus); this.Controls.Add(this.buttonPlus); this.Controls.Add(this.buttonEquals); this.Controls.Add(this.button10); this.Controls.Add(this.button9); this.Controls.Add(this.button8); this.Controls.Add(this.button7); this.Controls.Add(this.button6); this.Controls.Add(this.button5); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.numBox); this.Name = "Calculator"; this.Size = new System.Drawing.Size(166, 185); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.TextBox numBox; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button4; private System.Windows.Forms.Button button5; private System.Windows.Forms.Button button6; private System.Windows.Forms.Button button7; private System.Windows.Forms.Button button8; private System.Windows.Forms.Button button9; private System.Windows.Forms.Button button10; private System.Windows.Forms.Button buttonEquals; private System.Windows.Forms.Button buttonPlus; private System.Windows.Forms.Button buttonMinus; private System.Windows.Forms.Button buttonMultiply; private System.Windows.Forms.Button buttonDivide; private System.Windows.Forms.Button buttonC; private System.Windows.Forms.Button buttonCE; private System.Windows.Forms.Button buttonDecimal; } }