190 lines
7.7 KiB
C#
190 lines
7.7 KiB
C#
![]() |
namespace WindowsFormsApp1
|
|||
|
{
|
|||
|
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.button1 = new System.Windows.Forms.Button();
|
|||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|||
|
this.label2 = new System.Windows.Forms.Label();
|
|||
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|||
|
this.label3 = new System.Windows.Forms.Label();
|
|||
|
this.label4 = new System.Windows.Forms.Label();
|
|||
|
this.label5 = new System.Windows.Forms.Label();
|
|||
|
this.label6 = new System.Windows.Forms.Label();
|
|||
|
this.label7 = new System.Windows.Forms.Label();
|
|||
|
this.label8 = new System.Windows.Forms.Label();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
this.button1.Location = new System.Drawing.Point(215, 117);
|
|||
|
this.button1.Name = "button1";
|
|||
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.button1.TabIndex = 0;
|
|||
|
this.button1.Text = "Вычислить";
|
|||
|
this.button1.UseVisualStyleBackColor = true;
|
|||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|||
|
//
|
|||
|
// textBox1
|
|||
|
//
|
|||
|
this.textBox1.Location = new System.Drawing.Point(16, 24);
|
|||
|
this.textBox1.Name = "textBox1";
|
|||
|
this.textBox1.Size = new System.Drawing.Size(45, 20);
|
|||
|
this.textBox1.TabIndex = 1;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(67, 27);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(14, 13);
|
|||
|
this.label1.TabIndex = 2;
|
|||
|
this.label1.Text = "X";
|
|||
|
//
|
|||
|
// textBox2
|
|||
|
//
|
|||
|
this.textBox2.Location = new System.Drawing.Point(102, 24);
|
|||
|
this.textBox2.Name = "textBox2";
|
|||
|
this.textBox2.Size = new System.Drawing.Size(45, 20);
|
|||
|
this.textBox2.TabIndex = 3;
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(151, 27);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(14, 13);
|
|||
|
this.label2.TabIndex = 4;
|
|||
|
this.label2.Text = "X";
|
|||
|
//
|
|||
|
// textBox3
|
|||
|
//
|
|||
|
this.textBox3.Location = new System.Drawing.Point(187, 24);
|
|||
|
this.textBox3.Name = "textBox3";
|
|||
|
this.textBox3.Size = new System.Drawing.Size(45, 20);
|
|||
|
this.textBox3.TabIndex = 5;
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
this.label3.AutoSize = true;
|
|||
|
this.label3.Location = new System.Drawing.Point(238, 27);
|
|||
|
this.label3.Name = "label3";
|
|||
|
this.label3.Size = new System.Drawing.Size(22, 13);
|
|||
|
this.label3.TabIndex = 6;
|
|||
|
this.label3.Text = "= 0";
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
this.label4.AutoSize = true;
|
|||
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|||
|
this.label4.Location = new System.Drawing.Point(76, 20);
|
|||
|
this.label4.Name = "label4";
|
|||
|
this.label4.Size = new System.Drawing.Size(9, 9);
|
|||
|
this.label4.TabIndex = 7;
|
|||
|
this.label4.Text = "2";
|
|||
|
//
|
|||
|
// label5
|
|||
|
//
|
|||
|
this.label5.AutoSize = true;
|
|||
|
this.label5.Location = new System.Drawing.Point(84, 27);
|
|||
|
this.label5.Name = "label5";
|
|||
|
this.label5.Size = new System.Drawing.Size(13, 13);
|
|||
|
this.label5.TabIndex = 8;
|
|||
|
this.label5.Text = "+";
|
|||
|
//
|
|||
|
// label6
|
|||
|
//
|
|||
|
this.label6.AutoSize = true;
|
|||
|
this.label6.Location = new System.Drawing.Point(168, 27);
|
|||
|
this.label6.Name = "label6";
|
|||
|
this.label6.Size = new System.Drawing.Size(13, 13);
|
|||
|
this.label6.TabIndex = 9;
|
|||
|
this.label6.Text = "+";
|
|||
|
//
|
|||
|
// label7
|
|||
|
//
|
|||
|
this.label7.AutoSize = true;
|
|||
|
this.label7.Location = new System.Drawing.Point(12, 118);
|
|||
|
this.label7.Name = "label7";
|
|||
|
this.label7.Size = new System.Drawing.Size(62, 13);
|
|||
|
this.label7.TabIndex = 10;
|
|||
|
this.label7.Text = "Результат:";
|
|||
|
//
|
|||
|
// label8
|
|||
|
//
|
|||
|
this.label8.AutoSize = true;
|
|||
|
this.label8.Location = new System.Drawing.Point(76, 119);
|
|||
|
this.label8.Name = "label8";
|
|||
|
this.label8.Size = new System.Drawing.Size(49, 13);
|
|||
|
this.label8.TabIndex = 11;
|
|||
|
this.label8.Text = "4654564";
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(302, 152);
|
|||
|
this.Controls.Add(this.label8);
|
|||
|
this.Controls.Add(this.label7);
|
|||
|
this.Controls.Add(this.label6);
|
|||
|
this.Controls.Add(this.label5);
|
|||
|
this.Controls.Add(this.label4);
|
|||
|
this.Controls.Add(this.label3);
|
|||
|
this.Controls.Add(this.textBox3);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.textBox2);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.textBox1);
|
|||
|
this.Controls.Add(this.button1);
|
|||
|
this.Name = "Form1";
|
|||
|
this.Text = "Решение квадратного уравнения";
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Button button1;
|
|||
|
private System.Windows.Forms.TextBox textBox1;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.TextBox textBox2;
|
|||
|
private System.Windows.Forms.Label label2;
|
|||
|
private System.Windows.Forms.TextBox textBox3;
|
|||
|
private System.Windows.Forms.Label label3;
|
|||
|
private System.Windows.Forms.Label label4;
|
|||
|
private System.Windows.Forms.Label label5;
|
|||
|
private System.Windows.Forms.Label label6;
|
|||
|
private System.Windows.Forms.Label label7;
|
|||
|
private System.Windows.Forms.Label label8;
|
|||
|
}
|
|||
|
}
|
|||
|
|