|
@@ -0,0 +1,151 @@
|
|
|
+
|
|
|
+namespace calculator
|
|
|
+{
|
|
|
+ partial class MainForm
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// Required designer variable.
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Clean up any resources being used.
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows Form Designer generated code
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Required method for Designer support - do not modify
|
|
|
+ /// the contents of this method with the code editor.
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.tbInputX = new System.Windows.Forms.TextBox();
|
|
|
+ this.tbInputY = new System.Windows.Forms.TextBox();
|
|
|
+ this.tbInputZ = new System.Windows.Forms.TextBox();
|
|
|
+ this.lblX = new System.Windows.Forms.Label();
|
|
|
+ this.lblY = new System.Windows.Forms.Label();
|
|
|
+ this.lblZ = new System.Windows.Forms.Label();
|
|
|
+ this.lblAnswer = new System.Windows.Forms.Label();
|
|
|
+ this.btnCalculate = new System.Windows.Forms.Button();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // tbInputX
|
|
|
+ //
|
|
|
+ this.tbInputX.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.tbInputX.Location = new System.Drawing.Point(55, 84);
|
|
|
+ this.tbInputX.Name = "tbInputX";
|
|
|
+ this.tbInputX.Size = new System.Drawing.Size(177, 35);
|
|
|
+ this.tbInputX.TabIndex = 0;
|
|
|
+ //
|
|
|
+ // tbInputY
|
|
|
+ //
|
|
|
+ this.tbInputY.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.tbInputY.Location = new System.Drawing.Point(284, 84);
|
|
|
+ this.tbInputY.Name = "tbInputY";
|
|
|
+ this.tbInputY.Size = new System.Drawing.Size(177, 35);
|
|
|
+ this.tbInputY.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // tbInputZ
|
|
|
+ //
|
|
|
+ this.tbInputZ.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.tbInputZ.Location = new System.Drawing.Point(543, 84);
|
|
|
+ this.tbInputZ.Name = "tbInputZ";
|
|
|
+ this.tbInputZ.Size = new System.Drawing.Size(177, 35);
|
|
|
+ this.tbInputZ.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // lblX
|
|
|
+ //
|
|
|
+ this.lblX.AutoSize = true;
|
|
|
+ this.lblX.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.lblX.Location = new System.Drawing.Point(109, 36);
|
|
|
+ this.lblX.Name = "lblX";
|
|
|
+ this.lblX.Size = new System.Drawing.Size(40, 45);
|
|
|
+ this.lblX.TabIndex = 3;
|
|
|
+ this.lblX.Text = "X";
|
|
|
+ //
|
|
|
+ // lblY
|
|
|
+ //
|
|
|
+ this.lblY.AutoSize = true;
|
|
|
+ this.lblY.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.lblY.Location = new System.Drawing.Point(356, 36);
|
|
|
+ this.lblY.Name = "lblY";
|
|
|
+ this.lblY.Size = new System.Drawing.Size(38, 45);
|
|
|
+ this.lblY.TabIndex = 4;
|
|
|
+ this.lblY.Text = "Y";
|
|
|
+ //
|
|
|
+ // lblZ
|
|
|
+ //
|
|
|
+ this.lblZ.AutoSize = true;
|
|
|
+ this.lblZ.Font = new System.Drawing.Font("Segoe UI Semibold", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.lblZ.Location = new System.Drawing.Point(613, 36);
|
|
|
+ this.lblZ.Name = "lblZ";
|
|
|
+ this.lblZ.Size = new System.Drawing.Size(39, 45);
|
|
|
+ this.lblZ.TabIndex = 5;
|
|
|
+ this.lblZ.Text = "Z";
|
|
|
+ //
|
|
|
+ // lblAnswer
|
|
|
+ //
|
|
|
+ this.lblAnswer.AutoSize = true;
|
|
|
+ this.lblAnswer.Font = new System.Drawing.Font("Segoe UI Semibold", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.lblAnswer.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
|
|
|
+ this.lblAnswer.Location = new System.Drawing.Point(36, 453);
|
|
|
+ this.lblAnswer.Name = "lblAnswer";
|
|
|
+ this.lblAnswer.Size = new System.Drawing.Size(374, 65);
|
|
|
+ this.lblAnswer.TabIndex = 6;
|
|
|
+ this.lblAnswer.Text = "Область ответа";
|
|
|
+ //
|
|
|
+ // btnCalculate
|
|
|
+ //
|
|
|
+ this.btnCalculate.Font = new System.Drawing.Font("Segoe UI", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
|
+ this.btnCalculate.Location = new System.Drawing.Point(284, 253);
|
|
|
+ this.btnCalculate.Name = "btnCalculate";
|
|
|
+ this.btnCalculate.Size = new System.Drawing.Size(177, 64);
|
|
|
+ this.btnCalculate.TabIndex = 7;
|
|
|
+ this.btnCalculate.Text = "Вычислить!";
|
|
|
+ this.btnCalculate.UseVisualStyleBackColor = true;
|
|
|
+ this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
|
|
|
+ //
|
|
|
+ // Main
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(784, 561);
|
|
|
+ this.Controls.Add(this.btnCalculate);
|
|
|
+ this.Controls.Add(this.lblAnswer);
|
|
|
+ this.Controls.Add(this.lblZ);
|
|
|
+ this.Controls.Add(this.lblY);
|
|
|
+ this.Controls.Add(this.lblX);
|
|
|
+ this.Controls.Add(this.tbInputZ);
|
|
|
+ this.Controls.Add(this.tbInputY);
|
|
|
+ this.Controls.Add(this.tbInputX);
|
|
|
+ this.Name = "Main";
|
|
|
+ this.Text = "Калькулятор";
|
|
|
+ this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox tbInputX;
|
|
|
+ private System.Windows.Forms.TextBox tbInputY;
|
|
|
+ private System.Windows.Forms.TextBox tbInputZ;
|
|
|
+ private System.Windows.Forms.Label lblX;
|
|
|
+ private System.Windows.Forms.Label lblY;
|
|
|
+ private System.Windows.Forms.Label lblZ;
|
|
|
+ private System.Windows.Forms.Label lblAnswer;
|
|
|
+ private System.Windows.Forms.Button btnCalculate;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|