|
@@ -0,0 +1,161 @@
|
|
|
+namespace Zharushkin_calculator
|
|
|
+{
|
|
|
+ partial class Form1
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// Обязательная переменная конструктора.
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Освободить все используемые ресурсы.
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Код, автоматически созданный конструктором форм Windows
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
+ /// содержимое этого метода с помощью редактора кода.
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
+ this.textBox2 = new System.Windows.Forms.TextBox();
|
|
|
+ this.textBox3 = 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.SuspendLayout();
|
|
|
+ //
|
|
|
+ // textBox1
|
|
|
+ //
|
|
|
+ this.textBox1.Location = new System.Drawing.Point(21, 55);
|
|
|
+ this.textBox1.Name = "textBox1";
|
|
|
+ this.textBox1.Size = new System.Drawing.Size(100, 20);
|
|
|
+ this.textBox1.TabIndex = 0;
|
|
|
+ this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
|
|
+ //
|
|
|
+ // textBox2
|
|
|
+ //
|
|
|
+ this.textBox2.Location = new System.Drawing.Point(160, 55);
|
|
|
+ this.textBox2.Name = "textBox2";
|
|
|
+ this.textBox2.Size = new System.Drawing.Size(100, 20);
|
|
|
+ this.textBox2.TabIndex = 1;
|
|
|
+ this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
|
|
|
+ //
|
|
|
+ // textBox3
|
|
|
+ //
|
|
|
+ this.textBox3.Location = new System.Drawing.Point(20, 395);
|
|
|
+ this.textBox3.Name = "textBox3";
|
|
|
+ this.textBox3.Size = new System.Drawing.Size(240, 20);
|
|
|
+ this.textBox3.TabIndex = 2;
|
|
|
+ this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged);
|
|
|
+ //
|
|
|
+ // button1
|
|
|
+ //
|
|
|
+ this.button1.Location = new System.Drawing.Point(46, 157);
|
|
|
+ this.button1.Name = "button1";
|
|
|
+ this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button1.TabIndex = 3;
|
|
|
+ this.button1.Text = "Сложение";
|
|
|
+ this.button1.UseVisualStyleBackColor = true;
|
|
|
+ this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
+ //
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ this.button2.Location = new System.Drawing.Point(160, 157);
|
|
|
+ this.button2.Name = "button2";
|
|
|
+ this.button2.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button2.TabIndex = 4;
|
|
|
+ this.button2.Text = "Вычитание";
|
|
|
+ this.button2.UseVisualStyleBackColor = true;
|
|
|
+ this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
+ //
|
|
|
+ // button3
|
|
|
+ //
|
|
|
+ this.button3.Location = new System.Drawing.Point(46, 206);
|
|
|
+ this.button3.Name = "button3";
|
|
|
+ this.button3.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button3.TabIndex = 5;
|
|
|
+ this.button3.Text = "Умножение";
|
|
|
+ this.button3.UseVisualStyleBackColor = true;
|
|
|
+ this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
+ //
|
|
|
+ // button4
|
|
|
+ //
|
|
|
+ this.button4.Location = new System.Drawing.Point(160, 206);
|
|
|
+ this.button4.Name = "button4";
|
|
|
+ this.button4.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button4.TabIndex = 6;
|
|
|
+ this.button4.Text = "Деление";
|
|
|
+ this.button4.UseVisualStyleBackColor = true;
|
|
|
+ this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
|
+ //
|
|
|
+ // button5
|
|
|
+ //
|
|
|
+ this.button5.Location = new System.Drawing.Point(46, 262);
|
|
|
+ this.button5.Name = "button5";
|
|
|
+ this.button5.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button5.TabIndex = 7;
|
|
|
+ this.button5.Text = "В степень";
|
|
|
+ this.button5.UseVisualStyleBackColor = true;
|
|
|
+ this.button5.Click += new System.EventHandler(this.button5_Click);
|
|
|
+ //
|
|
|
+ // button6
|
|
|
+ //
|
|
|
+ this.button6.Location = new System.Drawing.Point(160, 262);
|
|
|
+ this.button6.Name = "button6";
|
|
|
+ this.button6.Size = new System.Drawing.Size(75, 23);
|
|
|
+ this.button6.TabIndex = 8;
|
|
|
+ this.button6.Text = "Корень";
|
|
|
+ this.button6.UseVisualStyleBackColor = true;
|
|
|
+ this.button6.Click += new System.EventHandler(this.button6_Click);
|
|
|
+ //
|
|
|
+ // Form1
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
|
|
+ this.ClientSize = new System.Drawing.Size(284, 450);
|
|
|
+ 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.textBox3);
|
|
|
+ this.Controls.Add(this.textBox2);
|
|
|
+ this.Controls.Add(this.textBox1);
|
|
|
+ this.Name = "Form1";
|
|
|
+ this.Text = "Калькулятор";
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox textBox1;
|
|
|
+ private System.Windows.Forms.TextBox textBox2;
|
|
|
+ private System.Windows.Forms.TextBox textBox3;
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|