|
@@ -0,0 +1,157 @@
|
|
|
+namespace WindowsFormsApp1
|
|
|
+{
|
|
|
+ partial class Calculator
|
|
|
+ {
|
|
|
+ /// <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.a = new System.Windows.Forms.TextBox();
|
|
|
+ this.b = new System.Windows.Forms.TextBox();
|
|
|
+ this.c = new System.Windows.Forms.TextBox();
|
|
|
+ this.Bsum = new System.Windows.Forms.Button();
|
|
|
+ this.Bumnog = new System.Windows.Forms.Button();
|
|
|
+ this.Bdel = new System.Windows.Forms.Button();
|
|
|
+ this.Bstep = new System.Windows.Forms.Button();
|
|
|
+ this.Bkoren = new System.Windows.Forms.Button();
|
|
|
+ this.Brazn = new System.Windows.Forms.Button();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // a
|
|
|
+ //
|
|
|
+ this.a.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.a.Name = "a";
|
|
|
+ this.a.Size = new System.Drawing.Size(174, 20);
|
|
|
+ this.a.TabIndex = 0;
|
|
|
+ //
|
|
|
+ // b
|
|
|
+ //
|
|
|
+ this.b.Location = new System.Drawing.Point(192, 12);
|
|
|
+ this.b.Name = "b";
|
|
|
+ this.b.Size = new System.Drawing.Size(165, 20);
|
|
|
+ this.b.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // c
|
|
|
+ //
|
|
|
+ this.c.Location = new System.Drawing.Point(12, 155);
|
|
|
+ this.c.Name = "c";
|
|
|
+ this.c.Size = new System.Drawing.Size(345, 20);
|
|
|
+ this.c.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // Bsum
|
|
|
+ //
|
|
|
+ this.Bsum.Location = new System.Drawing.Point(12, 47);
|
|
|
+ this.Bsum.Name = "Bsum";
|
|
|
+ this.Bsum.Size = new System.Drawing.Size(174, 30);
|
|
|
+ this.Bsum.TabIndex = 3;
|
|
|
+ this.Bsum.Text = "Сложение";
|
|
|
+ this.Bsum.UseVisualStyleBackColor = true;
|
|
|
+ this.Bsum.Click += new System.EventHandler(this.Bsum_Click);
|
|
|
+ //
|
|
|
+ // Bumnog
|
|
|
+ //
|
|
|
+ this.Bumnog.Location = new System.Drawing.Point(12, 83);
|
|
|
+ this.Bumnog.Name = "Bumnog";
|
|
|
+ this.Bumnog.Size = new System.Drawing.Size(174, 30);
|
|
|
+ this.Bumnog.TabIndex = 5;
|
|
|
+ this.Bumnog.Text = "Умножение";
|
|
|
+ this.Bumnog.UseVisualStyleBackColor = true;
|
|
|
+ this.Bumnog.Click += new System.EventHandler(this.Bumnog_Click);
|
|
|
+ //
|
|
|
+ // Bdel
|
|
|
+ //
|
|
|
+ this.Bdel.Location = new System.Drawing.Point(192, 83);
|
|
|
+ this.Bdel.Name = "Bdel";
|
|
|
+ this.Bdel.Size = new System.Drawing.Size(165, 30);
|
|
|
+ this.Bdel.TabIndex = 6;
|
|
|
+ this.Bdel.Text = "Деление";
|
|
|
+ this.Bdel.UseVisualStyleBackColor = true;
|
|
|
+ this.Bdel.Click += new System.EventHandler(this.Bdel_Click);
|
|
|
+ //
|
|
|
+ // Bstep
|
|
|
+ //
|
|
|
+ this.Bstep.Location = new System.Drawing.Point(12, 119);
|
|
|
+ this.Bstep.Name = "Bstep";
|
|
|
+ this.Bstep.Size = new System.Drawing.Size(174, 30);
|
|
|
+ this.Bstep.TabIndex = 7;
|
|
|
+ this.Bstep.Text = "В степень";
|
|
|
+ this.Bstep.UseVisualStyleBackColor = true;
|
|
|
+ this.Bstep.Click += new System.EventHandler(this.Bstep_Click);
|
|
|
+ //
|
|
|
+ // Bkoren
|
|
|
+ //
|
|
|
+ this.Bkoren.Location = new System.Drawing.Point(192, 119);
|
|
|
+ this.Bkoren.Name = "Bkoren";
|
|
|
+ this.Bkoren.Size = new System.Drawing.Size(165, 30);
|
|
|
+ this.Bkoren.TabIndex = 8;
|
|
|
+ this.Bkoren.Text = "Корень";
|
|
|
+ this.Bkoren.UseVisualStyleBackColor = true;
|
|
|
+ this.Bkoren.Click += new System.EventHandler(this.Bkoren_Click);
|
|
|
+ //
|
|
|
+ // Brazn
|
|
|
+ //
|
|
|
+ this.Brazn.Location = new System.Drawing.Point(192, 47);
|
|
|
+ this.Brazn.Name = "Brazn";
|
|
|
+ this.Brazn.Size = new System.Drawing.Size(165, 30);
|
|
|
+ this.Brazn.TabIndex = 9;
|
|
|
+ this.Brazn.Text = "Вычитание";
|
|
|
+ this.Brazn.UseVisualStyleBackColor = true;
|
|
|
+ this.Brazn.Click += new System.EventHandler(this.Brazn_Click_1);
|
|
|
+ //
|
|
|
+ // Calculator
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(385, 202);
|
|
|
+ this.Controls.Add(this.Brazn);
|
|
|
+ this.Controls.Add(this.Bkoren);
|
|
|
+ this.Controls.Add(this.Bstep);
|
|
|
+ this.Controls.Add(this.Bdel);
|
|
|
+ this.Controls.Add(this.Bumnog);
|
|
|
+ this.Controls.Add(this.Bsum);
|
|
|
+ this.Controls.Add(this.c);
|
|
|
+ this.Controls.Add(this.b);
|
|
|
+ this.Controls.Add(this.a);
|
|
|
+ this.Name = "Calculator";
|
|
|
+ this.Text = "Form1";
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox a;
|
|
|
+ private System.Windows.Forms.TextBox b;
|
|
|
+ private System.Windows.Forms.TextBox c;
|
|
|
+ private System.Windows.Forms.Button Bsum;
|
|
|
+ private System.Windows.Forms.Button Bumnog;
|
|
|
+ private System.Windows.Forms.Button Bdel;
|
|
|
+ private System.Windows.Forms.Button Bstep;
|
|
|
+ private System.Windows.Forms.Button Bkoren;
|
|
|
+ private System.Windows.Forms.Button Brazn;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|