|
@@ -1,7 +1,7 @@
|
|
|
|
|
|
namespace WindowsFormsApp1
|
|
namespace WindowsFormsApp1
|
|
{
|
|
{
|
|
- partial class Form1
|
|
|
|
|
|
+ partial class Algoritm
|
|
{
|
|
{
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Обязательная переменная конструктора.
|
|
/// Обязательная переменная конструктора.
|
|
@@ -29,7 +29,7 @@ namespace WindowsFormsApp1
|
|
/// </summary>
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
private void InitializeComponent()
|
|
{
|
|
{
|
|
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
|
|
|
|
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Algoritm));
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.tbOutput = new System.Windows.Forms.TextBox();
|
|
this.tbOutput = new System.Windows.Forms.TextBox();
|
|
this.tbInputX = new System.Windows.Forms.TextBox();
|
|
this.tbInputX = new System.Windows.Forms.TextBox();
|
|
@@ -37,6 +37,11 @@ namespace WindowsFormsApp1
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
this.tbInputY = new System.Windows.Forms.TextBox();
|
|
this.tbInputY = new System.Windows.Forms.TextBox();
|
|
this.btnResh = new System.Windows.Forms.Button();
|
|
this.btnResh = new System.Windows.Forms.Button();
|
|
|
|
+ this.rbSH = new System.Windows.Forms.RadioButton();
|
|
|
|
+ this.rbX = new System.Windows.Forms.RadioButton();
|
|
|
|
+ this.rbE = new System.Windows.Forms.RadioButton();
|
|
|
|
+ this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.tbInputE = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
//
|
|
@@ -51,15 +56,15 @@ namespace WindowsFormsApp1
|
|
//
|
|
//
|
|
// tbOutput
|
|
// tbOutput
|
|
//
|
|
//
|
|
- this.tbOutput.Location = new System.Drawing.Point(44, 187);
|
|
|
|
|
|
+ this.tbOutput.Location = new System.Drawing.Point(17, 210);
|
|
this.tbOutput.Multiline = true;
|
|
this.tbOutput.Multiline = true;
|
|
this.tbOutput.Name = "tbOutput";
|
|
this.tbOutput.Name = "tbOutput";
|
|
- this.tbOutput.Size = new System.Drawing.Size(270, 111);
|
|
|
|
|
|
+ this.tbOutput.Size = new System.Drawing.Size(334, 111);
|
|
this.tbOutput.TabIndex = 1;
|
|
this.tbOutput.TabIndex = 1;
|
|
//
|
|
//
|
|
// tbInputX
|
|
// tbInputX
|
|
//
|
|
//
|
|
- this.tbInputX.Location = new System.Drawing.Point(72, 126);
|
|
|
|
|
|
+ this.tbInputX.Location = new System.Drawing.Point(60, 121);
|
|
this.tbInputX.Name = "tbInputX";
|
|
this.tbInputX.Name = "tbInputX";
|
|
this.tbInputX.Size = new System.Drawing.Size(136, 20);
|
|
this.tbInputX.Size = new System.Drawing.Size(136, 20);
|
|
this.tbInputX.TabIndex = 2;
|
|
this.tbInputX.TabIndex = 2;
|
|
@@ -67,7 +72,7 @@ namespace WindowsFormsApp1
|
|
// textBox3
|
|
// textBox3
|
|
//
|
|
//
|
|
this.textBox3.Enabled = false;
|
|
this.textBox3.Enabled = false;
|
|
- this.textBox3.Location = new System.Drawing.Point(44, 126);
|
|
|
|
|
|
+ this.textBox3.Location = new System.Drawing.Point(32, 121);
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.Size = new System.Drawing.Size(29, 20);
|
|
this.textBox3.Size = new System.Drawing.Size(29, 20);
|
|
this.textBox3.TabIndex = 3;
|
|
this.textBox3.TabIndex = 3;
|
|
@@ -76,7 +81,7 @@ namespace WindowsFormsApp1
|
|
// textBox4
|
|
// textBox4
|
|
//
|
|
//
|
|
this.textBox4.Enabled = false;
|
|
this.textBox4.Enabled = false;
|
|
- this.textBox4.Location = new System.Drawing.Point(44, 152);
|
|
|
|
|
|
+ this.textBox4.Location = new System.Drawing.Point(32, 147);
|
|
this.textBox4.Name = "textBox4";
|
|
this.textBox4.Name = "textBox4";
|
|
this.textBox4.Size = new System.Drawing.Size(29, 20);
|
|
this.textBox4.Size = new System.Drawing.Size(29, 20);
|
|
this.textBox4.TabIndex = 5;
|
|
this.textBox4.TabIndex = 5;
|
|
@@ -84,14 +89,15 @@ namespace WindowsFormsApp1
|
|
//
|
|
//
|
|
// tbInputY
|
|
// tbInputY
|
|
//
|
|
//
|
|
- this.tbInputY.Location = new System.Drawing.Point(72, 152);
|
|
|
|
|
|
+ this.tbInputY.Location = new System.Drawing.Point(60, 147);
|
|
this.tbInputY.Name = "tbInputY";
|
|
this.tbInputY.Name = "tbInputY";
|
|
this.tbInputY.Size = new System.Drawing.Size(136, 20);
|
|
this.tbInputY.Size = new System.Drawing.Size(136, 20);
|
|
this.tbInputY.TabIndex = 4;
|
|
this.tbInputY.TabIndex = 4;
|
|
//
|
|
//
|
|
// btnResh
|
|
// btnResh
|
|
//
|
|
//
|
|
- this.btnResh.Location = new System.Drawing.Point(226, 126);
|
|
|
|
|
|
+ this.btnResh.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
|
+ this.btnResh.Location = new System.Drawing.Point(259, 133);
|
|
this.btnResh.Name = "btnResh";
|
|
this.btnResh.Name = "btnResh";
|
|
this.btnResh.Size = new System.Drawing.Size(88, 49);
|
|
this.btnResh.Size = new System.Drawing.Size(88, 49);
|
|
this.btnResh.TabIndex = 6;
|
|
this.btnResh.TabIndex = 6;
|
|
@@ -99,11 +105,65 @@ namespace WindowsFormsApp1
|
|
this.btnResh.UseVisualStyleBackColor = true;
|
|
this.btnResh.UseVisualStyleBackColor = true;
|
|
this.btnResh.Click += new System.EventHandler(this.btnResh_Click);
|
|
this.btnResh.Click += new System.EventHandler(this.btnResh_Click);
|
|
//
|
|
//
|
|
- // Form1
|
|
|
|
|
|
+ // rbSH
|
|
|
|
+ //
|
|
|
|
+ this.rbSH.AutoSize = true;
|
|
|
|
+ this.rbSH.Location = new System.Drawing.Point(211, 120);
|
|
|
|
+ this.rbSH.Name = "rbSH";
|
|
|
|
+ this.rbSH.Size = new System.Drawing.Size(47, 17);
|
|
|
|
+ this.rbSH.TabIndex = 7;
|
|
|
|
+ this.rbSH.TabStop = true;
|
|
|
|
+ this.rbSH.Text = "sh(x)";
|
|
|
|
+ this.rbSH.UseVisualStyleBackColor = true;
|
|
|
|
+ //
|
|
|
|
+ // rbX
|
|
|
|
+ //
|
|
|
|
+ this.rbX.AutoSize = true;
|
|
|
|
+ this.rbX.Location = new System.Drawing.Point(211, 149);
|
|
|
|
+ this.rbX.Name = "rbX";
|
|
|
|
+ this.rbX.Size = new System.Drawing.Size(42, 17);
|
|
|
|
+ this.rbX.TabIndex = 8;
|
|
|
|
+ this.rbX.TabStop = true;
|
|
|
|
+ this.rbX.Text = "x^2";
|
|
|
|
+ this.rbX.UseVisualStyleBackColor = true;
|
|
|
|
+ //
|
|
|
|
+ // rbE
|
|
|
|
+ //
|
|
|
|
+ this.rbE.AutoSize = true;
|
|
|
|
+ this.rbE.Location = new System.Drawing.Point(211, 176);
|
|
|
|
+ this.rbE.Name = "rbE";
|
|
|
|
+ this.rbE.Size = new System.Drawing.Size(42, 17);
|
|
|
|
+ this.rbE.TabIndex = 9;
|
|
|
|
+ this.rbE.TabStop = true;
|
|
|
|
+ this.rbE.Text = "e^x";
|
|
|
|
+ this.rbE.UseVisualStyleBackColor = true;
|
|
|
|
+ //
|
|
|
|
+ // textBox1
|
|
|
|
+ //
|
|
|
|
+ this.textBox1.Enabled = false;
|
|
|
|
+ this.textBox1.Location = new System.Drawing.Point(32, 173);
|
|
|
|
+ this.textBox1.Name = "textBox1";
|
|
|
|
+ this.textBox1.Size = new System.Drawing.Size(29, 20);
|
|
|
|
+ this.textBox1.TabIndex = 11;
|
|
|
|
+ this.textBox1.Text = "E =";
|
|
|
|
+ //
|
|
|
|
+ // tbInputE
|
|
|
|
+ //
|
|
|
|
+ this.tbInputE.Location = new System.Drawing.Point(60, 173);
|
|
|
|
+ this.tbInputE.Name = "tbInputE";
|
|
|
|
+ this.tbInputE.Size = new System.Drawing.Size(136, 20);
|
|
|
|
+ this.tbInputE.TabIndex = 10;
|
|
|
|
+ //
|
|
|
|
+ // Algoritm
|
|
//
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
- this.ClientSize = new System.Drawing.Size(364, 324);
|
|
|
|
|
|
+ this.ClientSize = new System.Drawing.Size(363, 333);
|
|
|
|
+ this.Controls.Add(this.textBox1);
|
|
|
|
+ this.Controls.Add(this.tbInputE);
|
|
|
|
+ this.Controls.Add(this.rbE);
|
|
|
|
+ this.Controls.Add(this.rbX);
|
|
|
|
+ this.Controls.Add(this.rbSH);
|
|
this.Controls.Add(this.btnResh);
|
|
this.Controls.Add(this.btnResh);
|
|
this.Controls.Add(this.textBox4);
|
|
this.Controls.Add(this.textBox4);
|
|
this.Controls.Add(this.tbInputY);
|
|
this.Controls.Add(this.tbInputY);
|
|
@@ -112,8 +172,8 @@ namespace WindowsFormsApp1
|
|
this.Controls.Add(this.tbOutput);
|
|
this.Controls.Add(this.tbOutput);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
- this.Name = "Form1";
|
|
|
|
- this.Text = "Form1";
|
|
|
|
|
|
+ this.Name = "Algoritm";
|
|
|
|
+ this.Text = "Алгоритм";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
this.PerformLayout();
|
|
@@ -129,6 +189,11 @@ namespace WindowsFormsApp1
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
private System.Windows.Forms.TextBox tbInputY;
|
|
private System.Windows.Forms.TextBox tbInputY;
|
|
private System.Windows.Forms.Button btnResh;
|
|
private System.Windows.Forms.Button btnResh;
|
|
|
|
+ private System.Windows.Forms.RadioButton rbSH;
|
|
|
|
+ private System.Windows.Forms.RadioButton rbX;
|
|
|
|
+ private System.Windows.Forms.RadioButton rbE;
|
|
|
|
+ private System.Windows.Forms.TextBox textBox1;
|
|
|
|
+ private System.Windows.Forms.TextBox tbInputE;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|