|
@@ -0,0 +1,170 @@
|
|
|
+namespace WindowsFormsApp1
|
|
|
+{
|
|
|
+ partial class Graph
|
|
|
+ {
|
|
|
+ /// <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()
|
|
|
+ {
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ this.ctGraph = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
|
+ this.tbInputX0 = new System.Windows.Forms.TextBox();
|
|
|
+ this.tbInputXk = new System.Windows.Forms.TextBox();
|
|
|
+ this.tbInputDx = new System.Windows.Forms.TextBox();
|
|
|
+ this.btnCalculate = new System.Windows.Forms.Button();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ctGraph)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // ctGraph
|
|
|
+ //
|
|
|
+ chartArea2.Name = "ChartArea1";
|
|
|
+ this.ctGraph.ChartAreas.Add(chartArea2);
|
|
|
+ legend2.Name = "Legend1";
|
|
|
+ this.ctGraph.Legends.Add(legend2);
|
|
|
+ this.ctGraph.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.ctGraph.Name = "ctGraph";
|
|
|
+ series3.BorderWidth = 5;
|
|
|
+ series3.ChartArea = "ChartArea1";
|
|
|
+ series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ series3.Legend = "Legend1";
|
|
|
+ series3.Name = "Sin(x)";
|
|
|
+ series4.BorderWidth = 5;
|
|
|
+ series4.ChartArea = "ChartArea1";
|
|
|
+ series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series4.Legend = "Legend1";
|
|
|
+ series4.Name = "Cos(x)";
|
|
|
+ this.ctGraph.Series.Add(series3);
|
|
|
+ this.ctGraph.Series.Add(series4);
|
|
|
+ this.ctGraph.Size = new System.Drawing.Size(521, 320);
|
|
|
+ this.ctGraph.TabIndex = 0;
|
|
|
+ this.ctGraph.Text = "chart1";
|
|
|
+ //
|
|
|
+ // tbInputX0
|
|
|
+ //
|
|
|
+ this.tbInputX0.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.tbInputX0.Location = new System.Drawing.Point(12, 385);
|
|
|
+ this.tbInputX0.Name = "tbInputX0";
|
|
|
+ this.tbInputX0.Size = new System.Drawing.Size(100, 24);
|
|
|
+ this.tbInputX0.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // tbInputXk
|
|
|
+ //
|
|
|
+ this.tbInputXk.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.tbInputXk.Location = new System.Drawing.Point(118, 385);
|
|
|
+ this.tbInputXk.Name = "tbInputXk";
|
|
|
+ this.tbInputXk.Size = new System.Drawing.Size(100, 24);
|
|
|
+ this.tbInputXk.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // tbInputDx
|
|
|
+ //
|
|
|
+ this.tbInputDx.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.tbInputDx.Location = new System.Drawing.Point(224, 385);
|
|
|
+ this.tbInputDx.Name = "tbInputDx";
|
|
|
+ this.tbInputDx.Size = new System.Drawing.Size(100, 24);
|
|
|
+ this.tbInputDx.TabIndex = 3;
|
|
|
+ //
|
|
|
+ // btnCalculate
|
|
|
+ //
|
|
|
+ this.btnCalculate.Location = new System.Drawing.Point(330, 386);
|
|
|
+ this.btnCalculate.Name = "btnCalculate";
|
|
|
+ this.btnCalculate.Size = new System.Drawing.Size(100, 24);
|
|
|
+ this.btnCalculate.TabIndex = 4;
|
|
|
+ this.btnCalculate.Text = "Расчёт";
|
|
|
+ this.btnCalculate.UseVisualStyleBackColor = true;
|
|
|
+ this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.label1.Location = new System.Drawing.Point(12, 364);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(26, 18);
|
|
|
+ this.label1.TabIndex = 5;
|
|
|
+ this.label1.Text = "X0";
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.label2.Location = new System.Drawing.Point(115, 364);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(26, 18);
|
|
|
+ this.label2.TabIndex = 6;
|
|
|
+ this.label2.Text = "Xk";
|
|
|
+ //
|
|
|
+ // label3
|
|
|
+ //
|
|
|
+ this.label3.AutoSize = true;
|
|
|
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.label3.Location = new System.Drawing.Point(221, 364);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(23, 18);
|
|
|
+ this.label3.TabIndex = 7;
|
|
|
+ this.label3.Text = "dx";
|
|
|
+ //
|
|
|
+ // Graph
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(545, 421);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.btnCalculate);
|
|
|
+ this.Controls.Add(this.tbInputDx);
|
|
|
+ this.Controls.Add(this.tbInputXk);
|
|
|
+ this.Controls.Add(this.tbInputX0);
|
|
|
+ this.Controls.Add(this.ctGraph);
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
+ this.Name = "Graph";
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
+ this.Text = "Graph";
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ctGraph)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.DataVisualization.Charting.Chart ctGraph;
|
|
|
+ private System.Windows.Forms.TextBox tbInputX0;
|
|
|
+ private System.Windows.Forms.TextBox tbInputXk;
|
|
|
+ private System.Windows.Forms.TextBox tbInputDx;
|
|
|
+ private System.Windows.Forms.Button btnCalculate;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|