|
@@ -0,0 +1,318 @@
|
|
|
+namespace KotenkovCalk2
|
|
|
+{
|
|
|
+ partial class Calc
|
|
|
+ {
|
|
|
+ /// <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.ClearBt = 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.NineBt = new System.Windows.Forms.Button();
|
|
|
+ this.EigthBt = new System.Windows.Forms.Button();
|
|
|
+ this.SevenBt = new System.Windows.Forms.Button();
|
|
|
+ this.button9 = new System.Windows.Forms.Button();
|
|
|
+ this.SixBt = new System.Windows.Forms.Button();
|
|
|
+ this.FiveBt = new System.Windows.Forms.Button();
|
|
|
+ this.FourBt = new System.Windows.Forms.Button();
|
|
|
+ this.button13 = new System.Windows.Forms.Button();
|
|
|
+ this.ThreeBt = new System.Windows.Forms.Button();
|
|
|
+ this.TwoBt = new System.Windows.Forms.Button();
|
|
|
+ this.OneBt = new System.Windows.Forms.Button();
|
|
|
+ this.GetResultBt = new System.Windows.Forms.Button();
|
|
|
+ this.button19 = new System.Windows.Forms.Button();
|
|
|
+ this.ZeroBt = new System.Windows.Forms.Button();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // textBox1
|
|
|
+ //
|
|
|
+ this.textBox1.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.textBox1.Multiline = true;
|
|
|
+ this.textBox1.Name = "textBox1";
|
|
|
+ this.textBox1.Size = new System.Drawing.Size(226, 20);
|
|
|
+ this.textBox1.TabIndex = 0;
|
|
|
+ //
|
|
|
+ // ClearBt
|
|
|
+ //
|
|
|
+ this.ClearBt.Location = new System.Drawing.Point(12, 38);
|
|
|
+ this.ClearBt.Name = "ClearBt";
|
|
|
+ this.ClearBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.ClearBt.TabIndex = 1;
|
|
|
+ this.ClearBt.Text = "C";
|
|
|
+ this.ClearBt.UseVisualStyleBackColor = true;
|
|
|
+ this.ClearBt.Click += new System.EventHandler(this.ClearBt_Click);
|
|
|
+ //
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ this.button2.Location = new System.Drawing.Point(70, 38);
|
|
|
+ this.button2.Name = "button2";
|
|
|
+ this.button2.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button2.TabIndex = 2;
|
|
|
+ this.button2.Text = "<-";
|
|
|
+ this.button2.UseVisualStyleBackColor = true;
|
|
|
+ this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
+ //
|
|
|
+ // button3
|
|
|
+ //
|
|
|
+ this.button3.Location = new System.Drawing.Point(128, 38);
|
|
|
+ this.button3.Name = "button3";
|
|
|
+ this.button3.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button3.TabIndex = 3;
|
|
|
+ this.button3.Text = "+/-";
|
|
|
+ this.button3.UseVisualStyleBackColor = true;
|
|
|
+ this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
+ //
|
|
|
+ // button4
|
|
|
+ //
|
|
|
+ this.button4.Location = new System.Drawing.Point(186, 38);
|
|
|
+ this.button4.Name = "button4";
|
|
|
+ this.button4.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button4.TabIndex = 4;
|
|
|
+ this.button4.Text = "+";
|
|
|
+ this.button4.UseVisualStyleBackColor = true;
|
|
|
+ this.button4.Click += new System.EventHandler(this.button4_Click);
|
|
|
+ //
|
|
|
+ // button5
|
|
|
+ //
|
|
|
+ this.button5.Location = new System.Drawing.Point(186, 80);
|
|
|
+ this.button5.Name = "button5";
|
|
|
+ this.button5.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button5.TabIndex = 8;
|
|
|
+ this.button5.Text = "-";
|
|
|
+ this.button5.UseVisualStyleBackColor = true;
|
|
|
+ this.button5.Click += new System.EventHandler(this.button5_Click);
|
|
|
+ //
|
|
|
+ // NineBt
|
|
|
+ //
|
|
|
+ this.NineBt.Location = new System.Drawing.Point(128, 80);
|
|
|
+ this.NineBt.Name = "NineBt";
|
|
|
+ this.NineBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.NineBt.TabIndex = 7;
|
|
|
+ this.NineBt.Text = "9";
|
|
|
+ this.NineBt.UseVisualStyleBackColor = true;
|
|
|
+ this.NineBt.Click += new System.EventHandler(this.NineBt_Click);
|
|
|
+ //
|
|
|
+ // EigthBt
|
|
|
+ //
|
|
|
+ this.EigthBt.Location = new System.Drawing.Point(70, 80);
|
|
|
+ this.EigthBt.Name = "EigthBt";
|
|
|
+ this.EigthBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.EigthBt.TabIndex = 6;
|
|
|
+ this.EigthBt.Text = "8";
|
|
|
+ this.EigthBt.UseVisualStyleBackColor = true;
|
|
|
+ this.EigthBt.Click += new System.EventHandler(this.EigthBt_Click);
|
|
|
+ //
|
|
|
+ // SevenBt
|
|
|
+ //
|
|
|
+ this.SevenBt.Location = new System.Drawing.Point(12, 80);
|
|
|
+ this.SevenBt.Name = "SevenBt";
|
|
|
+ this.SevenBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.SevenBt.TabIndex = 5;
|
|
|
+ this.SevenBt.Text = "7";
|
|
|
+ this.SevenBt.UseVisualStyleBackColor = true;
|
|
|
+ this.SevenBt.Click += new System.EventHandler(this.SevenBt_Click);
|
|
|
+ //
|
|
|
+ // button9
|
|
|
+ //
|
|
|
+ this.button9.Location = new System.Drawing.Point(186, 122);
|
|
|
+ this.button9.Name = "button9";
|
|
|
+ this.button9.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button9.TabIndex = 12;
|
|
|
+ this.button9.Text = "*";
|
|
|
+ this.button9.UseVisualStyleBackColor = true;
|
|
|
+ this.button9.Click += new System.EventHandler(this.button9_Click);
|
|
|
+ //
|
|
|
+ // SixBt
|
|
|
+ //
|
|
|
+ this.SixBt.Location = new System.Drawing.Point(128, 122);
|
|
|
+ this.SixBt.Name = "SixBt";
|
|
|
+ this.SixBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.SixBt.TabIndex = 11;
|
|
|
+ this.SixBt.Text = "6";
|
|
|
+ this.SixBt.UseVisualStyleBackColor = true;
|
|
|
+ this.SixBt.Click += new System.EventHandler(this.SixBt_Click);
|
|
|
+ //
|
|
|
+ // FiveBt
|
|
|
+ //
|
|
|
+ this.FiveBt.Location = new System.Drawing.Point(70, 122);
|
|
|
+ this.FiveBt.Name = "FiveBt";
|
|
|
+ this.FiveBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.FiveBt.TabIndex = 10;
|
|
|
+ this.FiveBt.Text = "5";
|
|
|
+ this.FiveBt.UseVisualStyleBackColor = true;
|
|
|
+ this.FiveBt.Click += new System.EventHandler(this.FiveBt_Click);
|
|
|
+ //
|
|
|
+ // FourBt
|
|
|
+ //
|
|
|
+ this.FourBt.Location = new System.Drawing.Point(12, 122);
|
|
|
+ this.FourBt.Name = "FourBt";
|
|
|
+ this.FourBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.FourBt.TabIndex = 9;
|
|
|
+ this.FourBt.Text = "4";
|
|
|
+ this.FourBt.UseVisualStyleBackColor = true;
|
|
|
+ this.FourBt.Click += new System.EventHandler(this.FourBt_Click);
|
|
|
+ //
|
|
|
+ // button13
|
|
|
+ //
|
|
|
+ this.button13.Location = new System.Drawing.Point(186, 164);
|
|
|
+ this.button13.Name = "button13";
|
|
|
+ this.button13.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button13.TabIndex = 16;
|
|
|
+ this.button13.Text = "/";
|
|
|
+ this.button13.UseVisualStyleBackColor = true;
|
|
|
+ this.button13.Click += new System.EventHandler(this.button13_Click);
|
|
|
+ //
|
|
|
+ // ThreeBt
|
|
|
+ //
|
|
|
+ this.ThreeBt.Location = new System.Drawing.Point(128, 164);
|
|
|
+ this.ThreeBt.Name = "ThreeBt";
|
|
|
+ this.ThreeBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.ThreeBt.TabIndex = 15;
|
|
|
+ this.ThreeBt.Text = "3";
|
|
|
+ this.ThreeBt.UseVisualStyleBackColor = true;
|
|
|
+ this.ThreeBt.Click += new System.EventHandler(this.ThreeBt_Click);
|
|
|
+ //
|
|
|
+ // TwoBt
|
|
|
+ //
|
|
|
+ this.TwoBt.Location = new System.Drawing.Point(70, 164);
|
|
|
+ this.TwoBt.Name = "TwoBt";
|
|
|
+ this.TwoBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.TwoBt.TabIndex = 14;
|
|
|
+ this.TwoBt.Text = "2";
|
|
|
+ this.TwoBt.UseVisualStyleBackColor = true;
|
|
|
+ this.TwoBt.Click += new System.EventHandler(this.TwoBt_Click);
|
|
|
+ //
|
|
|
+ // OneBt
|
|
|
+ //
|
|
|
+ this.OneBt.Location = new System.Drawing.Point(12, 164);
|
|
|
+ this.OneBt.Name = "OneBt";
|
|
|
+ this.OneBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.OneBt.TabIndex = 13;
|
|
|
+ this.OneBt.Text = "1";
|
|
|
+ this.OneBt.UseVisualStyleBackColor = true;
|
|
|
+ this.OneBt.Click += new System.EventHandler(this.OneBt_Click);
|
|
|
+ //
|
|
|
+ // GetResultBt
|
|
|
+ //
|
|
|
+ this.GetResultBt.Location = new System.Drawing.Point(128, 206);
|
|
|
+ this.GetResultBt.Name = "GetResultBt";
|
|
|
+ this.GetResultBt.Size = new System.Drawing.Size(110, 36);
|
|
|
+ this.GetResultBt.TabIndex = 20;
|
|
|
+ this.GetResultBt.Text = "=";
|
|
|
+ this.GetResultBt.UseVisualStyleBackColor = true;
|
|
|
+ this.GetResultBt.Click += new System.EventHandler(this.GetResultBt_Click);
|
|
|
+ //
|
|
|
+ // button19
|
|
|
+ //
|
|
|
+ this.button19.Location = new System.Drawing.Point(70, 206);
|
|
|
+ this.button19.Name = "button19";
|
|
|
+ this.button19.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.button19.TabIndex = 18;
|
|
|
+ this.button19.Text = ".";
|
|
|
+ this.button19.UseVisualStyleBackColor = true;
|
|
|
+ this.button19.Click += new System.EventHandler(this.button19_Click);
|
|
|
+ //
|
|
|
+ // ZeroBt
|
|
|
+ //
|
|
|
+ this.ZeroBt.Location = new System.Drawing.Point(12, 206);
|
|
|
+ this.ZeroBt.Name = "ZeroBt";
|
|
|
+ this.ZeroBt.Size = new System.Drawing.Size(52, 36);
|
|
|
+ this.ZeroBt.TabIndex = 17;
|
|
|
+ this.ZeroBt.Text = "0";
|
|
|
+ this.ZeroBt.UseVisualStyleBackColor = true;
|
|
|
+ this.ZeroBt.Click += new System.EventHandler(this.ZeroBt_Click);
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Location = new System.Drawing.Point(22, 12);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(0, 13);
|
|
|
+ this.label1.TabIndex = 21;
|
|
|
+ //
|
|
|
+ // Calc
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(251, 253);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.GetResultBt);
|
|
|
+ this.Controls.Add(this.button19);
|
|
|
+ this.Controls.Add(this.ZeroBt);
|
|
|
+ this.Controls.Add(this.button13);
|
|
|
+ this.Controls.Add(this.ThreeBt);
|
|
|
+ this.Controls.Add(this.TwoBt);
|
|
|
+ this.Controls.Add(this.OneBt);
|
|
|
+ this.Controls.Add(this.button9);
|
|
|
+ this.Controls.Add(this.SixBt);
|
|
|
+ this.Controls.Add(this.FiveBt);
|
|
|
+ this.Controls.Add(this.FourBt);
|
|
|
+ this.Controls.Add(this.button5);
|
|
|
+ this.Controls.Add(this.NineBt);
|
|
|
+ this.Controls.Add(this.EigthBt);
|
|
|
+ this.Controls.Add(this.SevenBt);
|
|
|
+ this.Controls.Add(this.button4);
|
|
|
+ this.Controls.Add(this.button3);
|
|
|
+ this.Controls.Add(this.button2);
|
|
|
+ this.Controls.Add(this.ClearBt);
|
|
|
+ this.Controls.Add(this.textBox1);
|
|
|
+ this.Name = "Calc";
|
|
|
+ this.Text = "Калькулятор";
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox textBox1;
|
|
|
+ private System.Windows.Forms.Button ClearBt;
|
|
|
+ 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 NineBt;
|
|
|
+ private System.Windows.Forms.Button EigthBt;
|
|
|
+ private System.Windows.Forms.Button SevenBt;
|
|
|
+ private System.Windows.Forms.Button button9;
|
|
|
+ private System.Windows.Forms.Button SixBt;
|
|
|
+ private System.Windows.Forms.Button FiveBt;
|
|
|
+ private System.Windows.Forms.Button FourBt;
|
|
|
+ private System.Windows.Forms.Button button13;
|
|
|
+ private System.Windows.Forms.Button ThreeBt;
|
|
|
+ private System.Windows.Forms.Button TwoBt;
|
|
|
+ private System.Windows.Forms.Button OneBt;
|
|
|
+ private System.Windows.Forms.Button GetResultBt;
|
|
|
+ private System.Windows.Forms.Button button19;
|
|
|
+ private System.Windows.Forms.Button ZeroBt;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|