|
@@ -0,0 +1,166 @@
|
|
|
+namespace Pract7_project
|
|
|
+{
|
|
|
+ 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()
|
|
|
+ {
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
|
|
+ this.tXmin = new System.Windows.Forms.TextBox();
|
|
|
+ this.tXmax = new System.Windows.Forms.TextBox();
|
|
|
+ this.tStep = new System.Windows.Forms.TextBox();
|
|
|
+ this.grafic = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.btnCalc = new System.Windows.Forms.Button();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.grafic)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // tXmin
|
|
|
+ //
|
|
|
+ this.tXmin.Location = new System.Drawing.Point(12, 361);
|
|
|
+ this.tXmin.Multiline = true;
|
|
|
+ this.tXmin.Name = "tXmin";
|
|
|
+ this.tXmin.Size = new System.Drawing.Size(100, 23);
|
|
|
+ this.tXmin.TabIndex = 0;
|
|
|
+ //
|
|
|
+ // tXmax
|
|
|
+ //
|
|
|
+ this.tXmax.Location = new System.Drawing.Point(118, 361);
|
|
|
+ this.tXmax.Multiline = true;
|
|
|
+ this.tXmax.Name = "tXmax";
|
|
|
+ this.tXmax.Size = new System.Drawing.Size(100, 24);
|
|
|
+ this.tXmax.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // tStep
|
|
|
+ //
|
|
|
+ this.tStep.Location = new System.Drawing.Point(224, 362);
|
|
|
+ this.tStep.Multiline = true;
|
|
|
+ this.tStep.Name = "tStep";
|
|
|
+ this.tStep.Size = new System.Drawing.Size(100, 23);
|
|
|
+ this.tStep.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // grafic
|
|
|
+ //
|
|
|
+ chartArea1.Name = "ChartArea1";
|
|
|
+ this.grafic.ChartAreas.Add(chartArea1);
|
|
|
+ legend1.Name = "Legend1";
|
|
|
+ this.grafic.Legends.Add(legend1);
|
|
|
+ this.grafic.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.grafic.Name = "grafic";
|
|
|
+ series1.ChartArea = "ChartArea1";
|
|
|
+ series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series1.Legend = "Legend1";
|
|
|
+ series1.Name = "sin()";
|
|
|
+ series2.ChartArea = "ChartArea1";
|
|
|
+ series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
|
|
|
+ series2.Legend = "Legend1";
|
|
|
+ series2.Name = "cos()";
|
|
|
+ this.grafic.Series.Add(series1);
|
|
|
+ this.grafic.Series.Add(series2);
|
|
|
+ this.grafic.Size = new System.Drawing.Size(633, 300);
|
|
|
+ this.grafic.TabIndex = 3;
|
|
|
+ this.grafic.Text = "chart1";
|
|
|
+ //
|
|
|
+ // 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, 340);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(42, 18);
|
|
|
+ this.label1.TabIndex = 4;
|
|
|
+ this.label1.Text = "Xmin";
|
|
|
+ //
|
|
|
+ // 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, 340);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(46, 18);
|
|
|
+ this.label2.TabIndex = 5;
|
|
|
+ this.label2.Text = "Xmax";
|
|
|
+ //
|
|
|
+ // 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(224, 341);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(35, 18);
|
|
|
+ this.label3.TabIndex = 6;
|
|
|
+ this.label3.Text = "Шаг";
|
|
|
+ //
|
|
|
+ // btnCalc
|
|
|
+ //
|
|
|
+ this.btnCalc.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.btnCalc.Location = new System.Drawing.Point(367, 353);
|
|
|
+ this.btnCalc.Name = "btnCalc";
|
|
|
+ this.btnCalc.Size = new System.Drawing.Size(101, 33);
|
|
|
+ this.btnCalc.TabIndex = 7;
|
|
|
+ this.btnCalc.Text = "Расчитать";
|
|
|
+ this.btnCalc.UseVisualStyleBackColor = true;
|
|
|
+ this.btnCalc.Click += new System.EventHandler(this.btnCalc_Click);
|
|
|
+ //
|
|
|
+ // Form1
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(652, 404);
|
|
|
+ this.Controls.Add(this.btnCalc);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.grafic);
|
|
|
+ this.Controls.Add(this.tStep);
|
|
|
+ this.Controls.Add(this.tXmax);
|
|
|
+ this.Controls.Add(this.tXmin);
|
|
|
+ this.Name = "Form1";
|
|
|
+ this.Text = "Практическая №7";
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.grafic)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox tXmin;
|
|
|
+ private System.Windows.Forms.TextBox tXmax;
|
|
|
+ private System.Windows.Forms.TextBox tStep;
|
|
|
+ private System.Windows.Forms.DataVisualization.Charting.Chart grafic;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ private System.Windows.Forms.Button btnCalc;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|