private void Chart_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left) { double rx = chart1.ChartAreas[0].AxisX.PixelPositionToValue(e.X); double ry = chart1.ChartAreas[0].AxisY.PixelPositionToValue(e.Y); chart1.ChartAreas[0].CursorX.Position = rx; chart1.ChartAreas[0].CursorY.Position = ry; chart1.Annotations[0].Visible = true; System.Windows.Forms.DataVisualization.Charting.TextAnnotation ell = (System.Windows.Forms.DataVisualization.Charting.TextAnnotation)(chart1.Annotations[0]); ell.AxisX = chart1.ChartAreas[0].AxisX; ell.AxisY = chart1.ChartAreas[0].AxisY; ell.AnchorX = rx; ell.AnchorY = ry; ell.Text = string.Format("x:{0},y:{1:0.0}", (int)rx, ry); if (x_axis_id == "") //若使用时间做x轴 { lb_measure.Content = "x: " + ((rx - past_rx) * 0.001f).ToString("F3") + "s y: " + (ry - past_ry).ToString("F2"); } else { lb_measure.Content = "x: " + (rx - past_rx).ToString("F0") + " y: " + (ry - past_ry).ToString("F2"); } past_rx = rx; past_ry = ry; set_legend(rx); //根据横坐标设置曲线图例值 //左键按下 pre_left = new Point(e.X, e.Y); tm_left_down = DateTime.Now; //左键按下的时间 } }
private void Chart_CursorPositionChanged(object sender, System.Windows.Forms.DataVisualization.Charting.CursorEventArgs e) { //此函数不进,不知道为啥 chart1.Annotations[0].Visible = true; System.Windows.Forms.DataVisualization.Charting.TextAnnotation ell = (System.Windows.Forms.DataVisualization.Charting.TextAnnotation)(chart1.Annotations[0]); double x = chart1.ChartAreas[0].CursorX.Position; double y = chart1.ChartAreas[0].CursorY.Position; ell.AxisX = chart1.ChartAreas[0].AxisX; ell.AxisY = chart1.ChartAreas[0].AxisY; ell.AnchorX = x; ell.AnchorY = y; ell.Text = string.Format("x:{0},y:{1}", (int)x, y); //chart1.Series[0].LabelToolTip = "asdf"; }
private void Chart_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { if (e.Button == System.Windows.Forms.MouseButtons.Left) { double rx = chart1.ChartAreas[0].AxisX.PixelPositionToValue(e.X); double ry = chart1.ChartAreas[0].AxisY.PixelPositionToValue(e.Y); chart1.ChartAreas[0].CursorX.Position = rx; chart1.ChartAreas[0].CursorY.Position = ry; chart1.Annotations[0].Visible = true; System.Windows.Forms.DataVisualization.Charting.TextAnnotation ell = (System.Windows.Forms.DataVisualization.Charting.TextAnnotation)(chart1.Annotations[0]); ell.AxisX = chart1.ChartAreas[0].AxisX; ell.AxisY = chart1.ChartAreas[0].AxisY; ell.AnchorX = rx; ell.AnchorY = ry; ell.Text = string.Format("x:{0},y:{1:0.0}", (int)rx, ry); //左键按下 pre_left = new Point(e.X, e.Y); } }
/// <summary> /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.RadiationChart = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.ButtonConnect = new System.Windows.Forms.Button(); this.RadiationLabel = new System.Windows.Forms.Label(); this.RadiationGroupBox = new System.Windows.Forms.GroupBox(); this.AboutButton = new System.Windows.Forms.Button(); this.SettingsButton = new System.Windows.Forms.Button(); this.AccuracyLabel = new System.Windows.Forms.Label(); this.ControlPanel = new System.Windows.Forms.Panel(); this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components); ((System.ComponentModel.ISupportInitialize)(this.RadiationChart)).BeginInit(); this.RadiationGroupBox.SuspendLayout(); this.ControlPanel.SuspendLayout(); this.SuspendLayout(); // // RadiationChart // textAnnotation1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); textAnnotation1.Height = 100D; textAnnotation1.Name = "NoDataAnnotation"; textAnnotation1.Text = "Not enough data"; textAnnotation1.Width = 100D; textAnnotation1.X = 0D; textAnnotation1.Y = 0D; this.RadiationChart.Annotations.Add(textAnnotation1); this.RadiationChart.BorderlineColor = System.Drawing.SystemColors.ActiveBorder; this.RadiationChart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea1.AxisX.LineWidth = 2; chartArea1.AxisY.LineWidth = 2; chartArea1.Name = "RadiationChartArea"; this.RadiationChart.ChartAreas.Add(chartArea1); this.RadiationChart.Location = new System.Drawing.Point(12, 12); this.RadiationChart.Name = "RadiationChart"; series1.BorderWidth = 2; series1.ChartArea = "RadiationChartArea"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series1.Color = System.Drawing.Color.Blue; series1.Name = "RadiationSeries"; series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Time; series1.YValuesPerPoint = 2; this.RadiationChart.Series.Add(series1); this.RadiationChart.Size = new System.Drawing.Size(398, 238); this.RadiationChart.TabIndex = 0; // // ButtonConnect // this.ButtonConnect.Location = new System.Drawing.Point(3, 3); this.ButtonConnect.Name = "ButtonConnect"; this.ButtonConnect.Size = new System.Drawing.Size(154, 32); this.ButtonConnect.TabIndex = 1; this.ButtonConnect.Text = "Connect"; this.ButtonConnect.UseVisualStyleBackColor = true; this.ButtonConnect.Click += new System.EventHandler(this.ButtonConnect_Click); // // RadiationLabel // this.RadiationLabel.Font = new System.Drawing.Font("Arial Black", 15F); this.RadiationLabel.Location = new System.Drawing.Point(6, 19); this.RadiationLabel.Name = "RadiationLabel"; this.RadiationLabel.Size = new System.Drawing.Size(144, 42); this.RadiationLabel.TabIndex = 3; this.RadiationLabel.Text = "N/A"; this.RadiationLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RadiationGroupBox // this.RadiationGroupBox.Controls.Add(this.RadiationLabel); this.RadiationGroupBox.Font = new System.Drawing.Font("Arial Black", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.RadiationGroupBox.Location = new System.Drawing.Point(3, 41); this.RadiationGroupBox.Name = "RadiationGroupBox"; this.RadiationGroupBox.Size = new System.Drawing.Size(156, 72); this.RadiationGroupBox.TabIndex = 5; this.RadiationGroupBox.TabStop = false; this.RadiationGroupBox.Text = "Radiation level:"; // // AboutButton // this.AboutButton.Location = new System.Drawing.Point(3, 219); this.AboutButton.Name = "AboutButton"; this.AboutButton.Size = new System.Drawing.Size(156, 23); this.AboutButton.TabIndex = 8; this.AboutButton.Text = "About"; this.AboutButton.UseVisualStyleBackColor = true; this.AboutButton.Click += new System.EventHandler(this.AboutButton_Click); // // SettingsButton // this.SettingsButton.Location = new System.Drawing.Point(3, 190); this.SettingsButton.Name = "SettingsButton"; this.SettingsButton.Size = new System.Drawing.Size(156, 23); this.SettingsButton.TabIndex = 9; this.SettingsButton.Text = "Settings"; this.SettingsButton.UseVisualStyleBackColor = true; this.SettingsButton.Click += new System.EventHandler(this.SettingsButton_Click); // // AccuracyLabel // this.AccuracyLabel.AutoSize = true; this.AccuracyLabel.Location = new System.Drawing.Point(3, 116); this.AccuracyLabel.Name = "AccuracyLabel"; this.AccuracyLabel.Size = new System.Drawing.Size(155, 13); this.AccuracyLabel.TabIndex = 10; this.AccuracyLabel.Text = "Accuracy of measurements: {0}"; // // ControlPanel // this.ControlPanel.Controls.Add(this.ButtonConnect); this.ControlPanel.Controls.Add(this.AccuracyLabel); this.ControlPanel.Controls.Add(this.RadiationGroupBox); this.ControlPanel.Controls.Add(this.SettingsButton); this.ControlPanel.Controls.Add(this.AboutButton); this.ControlPanel.Location = new System.Drawing.Point(416, 9); this.ControlPanel.Name = "ControlPanel"; this.ControlPanel.Size = new System.Drawing.Size(160, 245); this.ControlPanel.TabIndex = 12; // // notifyIcon // this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon"))); this.notifyIcon.DoubleClick += new System.EventHandler(this.NotifyIcon_DoubleClick); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(584, 261); this.Controls.Add(this.ControlPanel); this.Controls.Add(this.RadiationChart); this.MinimumSize = new System.Drawing.Size(600, 300); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); this.Resize += new System.EventHandler(this.MainForm_Resize); ((System.ComponentModel.ISupportInitialize)(this.RadiationChart)).EndInit(); this.RadiationGroupBox.ResumeLayout(false); this.ControlPanel.ResumeLayout(false); this.ControlPanel.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation2 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation3 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation4 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation5 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation6 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); 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.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBackTest)); this.btnMinimize = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.btnFechar = new System.Windows.Forms.Button(); this.lblF = new System.Windows.Forms.Label(); this.chtResultados = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.btnMinimize.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chtResultados)).BeginInit(); this.SuspendLayout(); // // btnMinimize // this.btnMinimize.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(46)))), ((int)(((byte)(46))))); this.btnMinimize.Controls.Add(this.button1); this.btnMinimize.Controls.Add(this.btnFechar); this.btnMinimize.Controls.Add(this.lblF); this.btnMinimize.Dock = System.Windows.Forms.DockStyle.Top; this.btnMinimize.Location = new System.Drawing.Point(0, 0); this.btnMinimize.Name = "btnMinimize"; this.btnMinimize.Size = new System.Drawing.Size(1271, 45); this.btnMinimize.TabIndex = 1; // // button1 // this.button1.Location = new System.Drawing.Point(54, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 3; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // btnFechar // this.btnFechar.AutoSize = true; this.btnFechar.BackColor = System.Drawing.Color.Red; this.btnFechar.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnFechar.Font = new System.Drawing.Font("Arial Rounded MT Bold", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnFechar.ForeColor = System.Drawing.Color.White; this.btnFechar.Location = new System.Drawing.Point(1237, 0); this.btnFechar.Name = "btnFechar"; this.btnFechar.Size = new System.Drawing.Size(34, 31); this.btnFechar.TabIndex = 48; this.btnFechar.Text = "X"; this.btnFechar.UseVisualStyleBackColor = false; this.btnFechar.Click += new System.EventHandler(this.btnFechar_Click); // // lblF // this.lblF.AutoSize = true; this.lblF.BackColor = System.Drawing.Color.Transparent; this.lblF.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblF.ForeColor = System.Drawing.Color.White; this.lblF.Location = new System.Drawing.Point(588, 9); this.lblF.Name = "lblF"; this.lblF.Size = new System.Drawing.Size(90, 22); this.lblF.TabIndex = 1; this.lblF.Text = "FILTRAR"; // // chtResultados // textAnnotation1.Font = new System.Drawing.Font("Arial", 15.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); textAnnotation1.ForeColor = System.Drawing.Color.White; textAnnotation1.Name = "Resultado"; textAnnotation1.Text = "Resultados"; textAnnotation1.X = 6D; textAnnotation1.Y = 30D; textAnnotation2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); textAnnotation2.ForeColor = System.Drawing.Color.White; textAnnotation2.Name = "Sena"; textAnnotation2.Text = "Sena acertos:"; textAnnotation2.X = 6D; textAnnotation2.Y = 37D; textAnnotation3.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); textAnnotation3.ForeColor = System.Drawing.Color.White; textAnnotation3.Name = "Quina"; textAnnotation3.Text = "Quina acertos:"; textAnnotation3.X = 6D; textAnnotation3.Y = 42D; textAnnotation4.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); textAnnotation4.ForeColor = System.Drawing.Color.White; textAnnotation4.Name = "Quadra"; textAnnotation4.Text = "Quadra acertos:"; textAnnotation4.X = 6D; textAnnotation4.Y = 47D; textAnnotation5.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); textAnnotation5.ForeColor = System.Drawing.Color.White; textAnnotation5.Name = "abordaP"; textAnnotation5.Text = "Jogos que a população "; textAnnotation5.X = 6D; textAnnotation5.Y = 52D; textAnnotation6.AllowAnchorMoving = true; textAnnotation6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); textAnnotation6.ForeColor = System.Drawing.Color.White; textAnnotation6.Name = "p2"; textAnnotation6.Text = "restante abordou a Mega:"; textAnnotation6.X = 6D; textAnnotation6.Y = 55D; this.chtResultados.Annotations.Add(textAnnotation1); this.chtResultados.Annotations.Add(textAnnotation2); this.chtResultados.Annotations.Add(textAnnotation3); this.chtResultados.Annotations.Add(textAnnotation4); this.chtResultados.Annotations.Add(textAnnotation5); this.chtResultados.Annotations.Add(textAnnotation6); this.chtResultados.BackColor = System.Drawing.Color.Transparent; this.chtResultados.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.chtResultados.BorderlineColor = System.Drawing.Color.Transparent; this.chtResultados.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea1.BackColor = System.Drawing.Color.Transparent; chartArea1.Name = "ChartArea1"; this.chtResultados.ChartAreas.Add(chartArea1); legend1.Alignment = System.Drawing.StringAlignment.Center; legend1.BackColor = System.Drawing.Color.Transparent; legend1.BorderColor = System.Drawing.Color.Transparent; legend1.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); legend1.ForeColor = System.Drawing.Color.White; legend1.IsTextAutoFit = false; legend1.ItemColumnSeparatorColor = System.Drawing.Color.White; legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Column; legend1.Name = "lend"; legend1.Position.Auto = false; legend1.Position.Height = 29.45545F; legend1.Position.Width = 13.64205F; legend1.Position.X = 78.35795F; legend1.Position.Y = 35.27228F; legend1.Title = "Anotações"; legend1.TitleFont = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); legend1.TitleForeColor = System.Drawing.Color.White; this.chtResultados.Legends.Add(legend1); this.chtResultados.Location = new System.Drawing.Point(0, 47); this.chtResultados.Name = "chtResultados"; series1.BackImageAlignment = System.Windows.Forms.DataVisualization.Charting.ChartImageAlignmentStyle.Center; series1.BackSecondaryColor = System.Drawing.Color.White; series1.BorderColor = System.Drawing.Color.White; series1.ChartArea = "ChartArea1"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie; series1.Color = System.Drawing.Color.Transparent; series1.Legend = "lend"; series1.Name = "SQuadra"; dataPoint1.BackImageTransparentColor = System.Drawing.Color.White; dataPoint1.BackSecondaryColor = System.Drawing.Color.White; dataPoint1.BorderColor = System.Drawing.Color.Transparent; dataPoint1.Color = System.Drawing.Color.Lime; dataPoint1.Font = new System.Drawing.Font("Dubai", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataPoint1.Label = ""; dataPoint1.LegendText = "Sena"; dataPoint1.MarkerColor = System.Drawing.Color.White; dataPoint2.BorderColor = System.Drawing.Color.Transparent; dataPoint2.Color = System.Drawing.Color.Yellow; dataPoint2.Font = new System.Drawing.Font("Dubai", 15.75F, System.Drawing.FontStyle.Bold); dataPoint2.LegendText = "Quina"; dataPoint3.BorderColor = System.Drawing.Color.Transparent; dataPoint3.Color = System.Drawing.Color.Red; dataPoint3.Font = new System.Drawing.Font("Dubai", 15.75F, System.Drawing.FontStyle.Bold); dataPoint3.LegendText = "Quadra"; series1.Points.Add(dataPoint1); series1.Points.Add(dataPoint2); series1.Points.Add(dataPoint3); this.chtResultados.Series.Add(series1); this.chtResultados.Size = new System.Drawing.Size(1273, 585); this.chtResultados.TabIndex = 2; // // frmBackTest // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::AnalisadorMegaSena.Properties.Resources.BackGraubd; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1271, 634); this.Controls.Add(this.chtResultados); this.Controls.Add(this.btnMinimize); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmBackTest"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "BACK-TEST"; this.VisibleChanged += new System.EventHandler(this.frmBackTest_VisibleChanged); this.btnMinimize.ResumeLayout(false); this.btnMinimize.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chtResultados)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); 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(); System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.selectbtn = new System.Windows.Forms.Button(); this.getButton = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.numOfItems = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.DisplayStatsTextBox = new System.Windows.Forms.TextBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.perfencesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fontToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.colorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.label1 = new System.Windows.Forms.Label(); this.textBoxHash = new System.Windows.Forms.TextBox(); this.textBoxBinary = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.SuspendLayout(); // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(106, 46); this.comboBox1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(120, 22); this.comboBox1.TabIndex = 0; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // selectbtn // this.selectbtn.Location = new System.Drawing.Point(12, 44); this.selectbtn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.selectbtn.Name = "selectbtn"; this.selectbtn.Size = new System.Drawing.Size(74, 25); this.selectbtn.TabIndex = 2; this.selectbtn.Text = "Select"; this.selectbtn.UseVisualStyleBackColor = true; this.selectbtn.Click += new System.EventHandler(this.selectbtn_Click); // // getButton // this.getButton.Location = new System.Drawing.Point(438, 41); this.getButton.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.getButton.Name = "getButton"; this.getButton.Size = new System.Drawing.Size(74, 25); this.getButton.TabIndex = 3; this.getButton.Text = "Get Method"; this.getButton.UseVisualStyleBackColor = true; this.getButton.Click += new System.EventHandler(this.getButton_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(251, 50); this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(91, 14); this.label2.TabIndex = 5; this.label2.Text = "Number of Items"; // // numOfItems // this.numOfItems.Location = new System.Drawing.Point(341, 44); this.numOfItems.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.numOfItems.Name = "numOfItems"; this.numOfItems.Size = new System.Drawing.Size(66, 29); this.numOfItems.TabIndex = 6; this.numOfItems.TextChanged += new System.EventHandler(this.numOfItems_TextChanged); // // label3 // this.label3.AutoSize = true; this.label3.Enabled = false; this.label3.Location = new System.Drawing.Point(12, 108); this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(217, 14); this.label3.TabIndex = 7; this.label3.Text = "Time taken to perform get on Linked List - "; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(224, 177); this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(0, 14); this.label4.TabIndex = 8; // // DisplayStatsTextBox // this.DisplayStatsTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this.DisplayStatsTextBox.Location = new System.Drawing.Point(242, 108); this.DisplayStatsTextBox.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.DisplayStatsTextBox.Name = "DisplayStatsTextBox"; this.DisplayStatsTextBox.ReadOnly = true; this.DisplayStatsTextBox.Size = new System.Drawing.Size(100, 22); this.DisplayStatsTextBox.TabIndex = 9; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.perfencesToolStripMenuItem, this.exitToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1196, 24); this.menuStrip1.TabIndex = 10; this.menuStrip1.Text = "menuStrip1"; // // perfencesToolStripMenuItem // this.perfencesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fontToolStripMenuItem, this.colorToolStripMenuItem }); this.perfencesToolStripMenuItem.Name = "perfencesToolStripMenuItem"; this.perfencesToolStripMenuItem.Size = new System.Drawing.Size(80, 20); this.perfencesToolStripMenuItem.Text = "Preferences"; // // fontToolStripMenuItem // this.fontToolStripMenuItem.Name = "fontToolStripMenuItem"; this.fontToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.fontToolStripMenuItem.Text = "Font change"; this.fontToolStripMenuItem.Click += new System.EventHandler(this.fontToolStripMenuItem_Click); // // colorToolStripMenuItem // this.colorToolStripMenuItem.Name = "colorToolStripMenuItem"; this.colorToolStripMenuItem.Size = new System.Drawing.Size(140, 22); this.colorToolStripMenuItem.Text = "Color"; this.colorToolStripMenuItem.Click += new System.EventHandler(this.colorToolStripMenuItem_Click); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // chart1 // textAnnotation1.Alignment = System.Drawing.ContentAlignment.MiddleRight; textAnnotation1.IsSizeAlwaysRelative = false; textAnnotation1.Name = "TextAnnotation1"; textAnnotation1.Text = "Time Taken in Get in Milliseconds"; this.chart1.Annotations.Add(textAnnotation1); chartArea1.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea1); legend1.Name = "Legend1"; this.chart1.Legends.Add(legend1); this.chart1.Location = new System.Drawing.Point(574, 32); this.chart1.Name = "chart1"; this.chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Fire; series1.ChartArea = "ChartArea1"; series1.Legend = "Legend1"; series1.Name = "LinkedList"; series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Int32; series2.ChartArea = "ChartArea1"; series2.Legend = "Legend1"; series2.Name = "HashTable"; series3.ChartArea = "ChartArea1"; series3.Legend = "Legend1"; series3.Name = "BinaryTree"; this.chart1.Series.Add(series1); this.chart1.Series.Add(series2); this.chart1.Series.Add(series3); this.chart1.Size = new System.Drawing.Size(610, 378); this.chart1.TabIndex = 11; this.chart1.Text = "chart1"; this.chart1.Click += new System.EventHandler(this.chart1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Enabled = false; this.label1.Location = new System.Drawing.Point(9, 155); this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(218, 14); this.label1.TabIndex = 12; this.label1.Text = "Time taken to perform get on Hash Table - "; // // textBoxHash // this.textBoxHash.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBoxHash.Location = new System.Drawing.Point(242, 155); this.textBoxHash.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.textBoxHash.Name = "textBoxHash"; this.textBoxHash.ReadOnly = true; this.textBoxHash.Size = new System.Drawing.Size(100, 22); this.textBoxHash.TabIndex = 13; // // textBoxBinary // this.textBoxBinary.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBoxBinary.Location = new System.Drawing.Point(242, 207); this.textBoxBinary.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.textBoxBinary.Name = "textBoxBinary"; this.textBoxBinary.ReadOnly = true; this.textBoxBinary.Size = new System.Drawing.Size(100, 22); this.textBoxBinary.TabIndex = 14; // // label5 // this.label5.AutoSize = true; this.label5.Enabled = false; this.label5.Location = new System.Drawing.Point(12, 207); this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(219, 14); this.label5.TabIndex = 15; this.label5.Text = "Time taken to perform get on Binary Tree - "; // // Result // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveCaption; this.ClientSize = new System.Drawing.Size(1196, 422); this.Controls.Add(this.label5); this.Controls.Add(this.textBoxBinary); this.Controls.Add(this.textBoxHash); this.Controls.Add(this.label1); this.Controls.Add(this.chart1); this.Controls.Add(this.DisplayStatsTextBox); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.numOfItems); this.Controls.Add(this.label2); this.Controls.Add(this.getButton); this.Controls.Add(this.selectbtn); this.Controls.Add(this.comboBox1); this.Controls.Add(this.menuStrip1); this.Font = new System.Drawing.Font("Adobe Fan Heiti Std B", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(128))); this.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.MainMenuStrip = this.menuStrip1; this.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.Name = "Result"; this.Text = "Result"; this.Load += new System.EventHandler(this.Result_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); 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.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1D, 12D); System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2D, 3D); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.SuspendLayout(); // // chart1 // textAnnotation1.Name = "TextAnnotation1"; textAnnotation1.Text = "Количество единиц оборудования"; this.chart1.Annotations.Add(textAnnotation1); chartArea1.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea1); this.chart1.Dock = System.Windows.Forms.DockStyle.Bottom; legend1.Name = "Legend1"; this.chart1.Legends.Add(legend1); this.chart1.Location = new System.Drawing.Point(0, 61); this.chart1.Name = "chart1"; series1.ChartArea = "ChartArea1"; series1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); series1.Legend = "Legend1"; series1.Name = "работающее"; dataPoint1.AxisLabel = "Работающее"; series1.Points.Add(dataPoint1); series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String; series2.ChartArea = "ChartArea1"; series2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); series2.Legend = "Legend1"; series2.Name = "неработающее"; dataPoint2.AxisLabel = "неработающее"; dataPoint2.LegendText = "неработает"; series2.Points.Add(dataPoint2); this.chart1.Series.Add(series1); this.chart1.Series.Add(series2); this.chart1.Size = new System.Drawing.Size(733, 362); this.chart1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.Location = new System.Drawing.Point(52, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(351, 21); this.label1.TabIndex = 1; this.label1.Text = "количество неработающего оборудования"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(460, 390); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(261, 13); this.label2.TabIndex = 2; this.label2.Text = "виды оборудования (работающее/неработающее)"; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Суммарно по больнице", "консультативно – диагностический центр", "отделения хирургической помощи", "центр анестезиологии и реанимации", "отделения терапевтической службы", "центр восстановительного лечения", "региональный сосудистый центр", "областной перинатальный центр", "центр травматологии и ортопедии", "", "", "" }); this.comboBox1.Location = new System.Drawing.Point(421, 24); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(212, 21); this.comboBox1.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(7, 61); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(179, 13); this.label3.TabIndex = 4; this.label3.Text = "Количество единиц оборудования"; // // GraphicsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(733, 423); this.Controls.Add(this.label3); this.Controls.Add(this.comboBox1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.chart1); this.Name = "GraphicsForm"; this.Text = "Количство оборудования в оттделах"; ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); 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.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1D, 4D); System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2D, 4D); System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3D, 3D); System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 7D); this.label3 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.SuspendLayout(); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 72); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(239, 13); this.label3.TabIndex = 9; this.label3.Text = "Количество сломанных единиц оборудования"; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Суммарно по больнице", "консультативно – диагностический центр", "отделения хирургической помощи", "центр анестезиологии и реанимации", "отделения терапевтической службы", "центр восстановительного лечения", "региональный сосудистый центр", "областной перинатальный центр", "центр травматологии и ортопедии", "", "", "" }); this.comboBox1.Location = new System.Drawing.Point(421, 13); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(212, 21); this.comboBox1.TabIndex = 8; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(645, 419); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(45, 13); this.label2.TabIndex = 7; this.label2.Text = "модели"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.Location = new System.Drawing.Point(52, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(342, 21); this.label1.TabIndex = 6; this.label1.Text = "Часто выходящее из строя оборудование"; // // chart1 // textAnnotation1.Name = "TextAnnotation1"; textAnnotation1.Text = "Количество единиц оборудования"; this.chart1.Annotations.Add(textAnnotation1); chartArea1.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea1); this.chart1.Dock = System.Windows.Forms.DockStyle.Bottom; legend1.Name = "Legend1"; this.chart1.Legends.Add(legend1); this.chart1.Location = new System.Drawing.Point(0, 88); this.chart1.Name = "chart1"; series1.ChartArea = "ChartArea1"; series1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); series1.Legend = "Legend1"; series1.Name = "Дозатор"; dataPoint1.AxisLabel = "Дозатор"; series1.Points.Add(dataPoint1); series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String; series2.ChartArea = "ChartArea1"; series2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); series2.Legend = "Legend1"; series2.Name = "Весы"; dataPoint2.AxisLabel = "Весы"; dataPoint2.LegendText = ""; series2.Points.Add(dataPoint2); series3.ChartArea = "ChartArea1"; series3.Legend = "Legend1"; series3.Name = "Пульсоксиметр"; dataPoint3.AxisLabel = "Пульсоксиметр"; dataPoint3.LegendText = ""; series3.Points.Add(dataPoint3); series4.ChartArea = "ChartArea1"; series4.Legend = "Legend1"; series4.Name = "Дефибриллятор"; dataPoint4.AxisLabel = "Дефибриллятор"; dataPoint4.LegendText = ""; series4.Points.Add(dataPoint4); this.chart1.Series.Add(series1); this.chart1.Series.Add(series2); this.chart1.Series.Add(series3); this.chart1.Series.Add(series4); this.chart1.Size = new System.Drawing.Size(800, 362); this.chart1.TabIndex = 5; // // GraphicsModels // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.label3); this.Controls.Add(this.comboBox1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.chart1); this.Name = "GraphicsModels"; this.Text = "GraphicsModels"; ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataVisualization.Charting.TextAnnotation textAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.TextAnnotation(); 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(); System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 0D); System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 4D); System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.Windows.Forms.DataVisualization.Charting.Title title2 = new System.Windows.Forms.DataVisualization.Charting.Title(); 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 series4 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Title title3 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.Windows.Forms.DataVisualization.Charting.Title title4 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SPVfractForm)); this.label1 = new System.Windows.Forms.Label(); this.MetFileLinkLabel = new System.Windows.Forms.LinkLabel(); this.MetFileNameLabel = new System.Windows.Forms.Label(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.CalcLinkLabel = new System.Windows.Forms.LinkLabel(); this.label2 = new System.Windows.Forms.Label(); this.minRadnTextBox = new System.Windows.Forms.TextBox(); this.spvFractLabel = new System.Windows.Forms.Label(); this.chart = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.graphMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.copyItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exportDataToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.fromMonth = new System.Windows.Forms.ComboBox(); this.toMonth = new System.Windows.Forms.ComboBox(); this.saveDataFile = new System.Windows.Forms.SaveFileDialog(); this.panel1 = new System.Windows.Forms.Panel(); this.tabControl = new System.Windows.Forms.TabControl(); this.SVPPage = new System.Windows.Forms.TabPage(); this.TemprPage = new System.Windows.Forms.TabPage(); this.DownButton = new System.Windows.Forms.Button(); this.UpButton = new System.Windows.Forms.Button(); this.label11 = new System.Windows.Forms.Label(); this.domTextBox = new System.Windows.Forms.TextBox(); this.DailyLabel = new System.Windows.Forms.LinkLabel(); this.nightStdDevlabel = new System.Windows.Forms.Label(); this.labelmaxStdDev = new System.Windows.Forms.Label(); this.minStdDevlabel = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.maxLaglabel = new System.Windows.Forms.Label(); this.nightCoeflabel1 = new System.Windows.Forms.Label(); this.minLaglabel = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.OptimiseLabel = new System.Windows.Forms.LinkLabel(); this.temperatureChart = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.latTextBox = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); this.graphMenu.SuspendLayout(); this.panel1.SuspendLayout(); this.tabControl.SuspendLayout(); this.SVPPage.SuspendLayout(); this.TemprPage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.temperatureChart)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(38, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(456, 19); this.label1.TabIndex = 0; this.label1.Text = "Calculate SVPfract using hourly Temperature and Humidity"; // // MetFileLinkLabel // this.MetFileLinkLabel.AutoSize = true; this.MetFileLinkLabel.Location = new System.Drawing.Point(39, 65); this.MetFileLinkLabel.Name = "MetFileLinkLabel"; this.MetFileLinkLabel.Size = new System.Drawing.Size(137, 16); this.MetFileLinkLabel.TabIndex = 1; this.MetFileLinkLabel.TabStop = true; this.MetFileLinkLabel.Text = "Select Hourly Met File"; this.MetFileLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.MetFileLinkLabel_LinkClicked); // // MetFileNameLabel // this.MetFileNameLabel.AutoSize = true; this.MetFileNameLabel.Location = new System.Drawing.Point(39, 92); this.MetFileNameLabel.Name = "MetFileNameLabel"; this.MetFileNameLabel.Size = new System.Drawing.Size(61, 16); this.MetFileNameLabel.TabIndex = 2; this.MetFileNameLabel.Text = "Filename"; // // openFileDialog // this.openFileDialog.FileName = "\"C:\\Pioneer\\SPVfract\\WoodlandHourly2019.csv\""; this.openFileDialog.Filter = "Met File (*.csv)|*.csv"; // // CalcLinkLabel // this.CalcLinkLabel.AutoSize = true; this.CalcLinkLabel.Location = new System.Drawing.Point(26, 56); this.CalcLinkLabel.Name = "CalcLinkLabel"; this.CalcLinkLabel.Size = new System.Drawing.Size(118, 16); this.CalcLinkLabel.TabIndex = 3; this.CalcLinkLabel.TabStop = true; this.CalcLinkLabel.Text = "Calculate SVPfract"; this.CalcLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.CalcLinkLabel_LinkClicked); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(26, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(119, 16); this.label2.TabIndex = 4; this.label2.Text = "Minimum Radiation"; // // minRadnTextBox // this.minRadnTextBox.Location = new System.Drawing.Point(195, 13); this.minRadnTextBox.Name = "minRadnTextBox"; this.minRadnTextBox.Size = new System.Drawing.Size(63, 22); this.minRadnTextBox.TabIndex = 5; this.minRadnTextBox.Text = "300"; // // spvFractLabel // this.spvFractLabel.AutoSize = true; this.spvFractLabel.Location = new System.Drawing.Point(192, 56); this.spvFractLabel.Name = "spvFractLabel"; this.spvFractLabel.Size = new System.Drawing.Size(60, 16); this.spvFractLabel.TabIndex = 6; this.spvFractLabel.Text = "SPVfract"; // // chart // textAnnotation1.AnchorDataPointName = "One2One\\r1"; textAnnotation1.AnchorOffsetX = 50D; textAnnotation1.AnchorOffsetY = 60D; textAnnotation1.AnchorX = 0D; textAnnotation1.AnchorY = 0D; textAnnotation1.Name = "Regression"; textAnnotation1.Text = "."; this.chart.Annotations.Add(textAnnotation1); chartArea1.AxisX.Maximum = 4D; chartArea1.AxisX.Minimum = 0D; chartArea1.AxisX.Title = "Mean Daytime VPD (kPa)"; chartArea1.AxisY.Maximum = 4D; chartArea1.AxisY.Minimum = 0D; chartArea1.AxisY.Title = "Predicted VPD (kPa)"; chartArea1.Name = "ChartArea1"; this.chart.ChartAreas.Add(chartArea1); this.chart.ContextMenuStrip = this.graphMenu; legend1.Enabled = false; legend1.Name = "Legend1"; this.chart.Legends.Add(legend1); this.chart.Location = new System.Drawing.Point(302, 22); this.chart.Name = "chart"; series1.ChartArea = "ChartArea1"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point; series1.Legend = "Legend1"; series1.Name = "Data"; series2.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; series2.ChartArea = "ChartArea1"; series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series2.Color = System.Drawing.Color.Black; series2.Legend = "Legend1"; series2.Name = "Regression"; series3.BorderColor = System.Drawing.Color.Black; series3.BorderWidth = 2; series3.ChartArea = "ChartArea1"; series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series3.Color = System.Drawing.Color.Black; series3.Legend = "Legend1"; series3.Name = "One2One"; series3.Points.Add(dataPoint1); series3.Points.Add(dataPoint2); this.chart.Series.Add(series1); this.chart.Series.Add(series2); this.chart.Series.Add(series3); this.chart.Size = new System.Drawing.Size(630, 613); this.chart.TabIndex = 7; this.chart.Text = "chart1"; title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); title1.Name = "Title1"; title1.Text = "VPD"; title2.Name = "Title2"; this.chart.Titles.Add(title1); this.chart.Titles.Add(title2); // // graphMenu // this.graphMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyItem, this.saveToolStripMenuItem, this.printPreviewToolStripMenuItem, this.printToolStripMenuItem, this.exportDataToolStripMenuItem1 }); this.graphMenu.Name = "graphMenu"; this.graphMenu.Size = new System.Drawing.Size(172, 114); // // copyItem // this.copyItem.Name = "copyItem"; this.copyItem.Size = new System.Drawing.Size(171, 22); this.copyItem.Text = "Copy to Clipboard"; this.copyItem.Click += new System.EventHandler(this.copyItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // printPreviewToolStripMenuItem // this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem"; this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.printPreviewToolStripMenuItem.Text = "Print Preview"; this.printPreviewToolStripMenuItem.Click += new System.EventHandler(this.printPreviewToolStripMenuItem_Click); // // printToolStripMenuItem // this.printToolStripMenuItem.Name = "printToolStripMenuItem"; this.printToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.printToolStripMenuItem.Text = "Print"; this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click); // // exportDataToolStripMenuItem1 // this.exportDataToolStripMenuItem1.Name = "exportDataToolStripMenuItem1"; this.exportDataToolStripMenuItem1.Size = new System.Drawing.Size(171, 22); this.exportDataToolStripMenuItem1.Text = "Export Data"; this.exportDataToolStripMenuItem1.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(416, 65); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(78, 16); this.label3.TabIndex = 8; this.label3.Text = "From Month"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(416, 92); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(61, 16); this.label4.TabIndex = 9; this.label4.Text = "To Month"; // // fromMonth // this.fromMonth.FormattingEnabled = true; this.fromMonth.Location = new System.Drawing.Point(527, 62); this.fromMonth.Name = "fromMonth"; this.fromMonth.Size = new System.Drawing.Size(121, 24); this.fromMonth.TabIndex = 10; this.fromMonth.SelectedIndexChanged += new System.EventHandler(this.IncludedMonth_SelectedIndexChanged); // // toMonth // this.toMonth.FormattingEnabled = true; this.toMonth.Location = new System.Drawing.Point(527, 89); this.toMonth.Name = "toMonth"; this.toMonth.Size = new System.Drawing.Size(121, 24); this.toMonth.TabIndex = 11; this.toMonth.SelectedIndexChanged += new System.EventHandler(this.IncludedMonth_SelectedIndexChanged); // // saveDataFile // this.saveDataFile.DefaultExt = "csv"; this.saveDataFile.Filter = "CSV File (*.csv)|*.csv"; // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.MetFileLinkLabel); this.panel1.Controls.Add(this.MetFileNameLabel); this.panel1.Controls.Add(this.fromMonth); this.panel1.Controls.Add(this.toMonth); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1326, 125); this.panel1.TabIndex = 12; // // tabControl // this.tabControl.Controls.Add(this.SVPPage); this.tabControl.Controls.Add(this.TemprPage); this.tabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl.Location = new System.Drawing.Point(0, 125); this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(1326, 664); this.tabControl.TabIndex = 13; // // SVPPage // this.SVPPage.Controls.Add(this.label2); this.SVPPage.Controls.Add(this.CalcLinkLabel); this.SVPPage.Controls.Add(this.minRadnTextBox); this.SVPPage.Controls.Add(this.chart); this.SVPPage.Controls.Add(this.spvFractLabel); this.SVPPage.Location = new System.Drawing.Point(4, 25); this.SVPPage.Name = "SVPPage"; this.SVPPage.Padding = new System.Windows.Forms.Padding(3); this.SVPPage.Size = new System.Drawing.Size(1318, 635); this.SVPPage.TabIndex = 0; this.SVPPage.Text = "SVP Fract"; this.SVPPage.UseVisualStyleBackColor = true; // // TemprPage // this.TemprPage.Controls.Add(this.DownButton); this.TemprPage.Controls.Add(this.UpButton); this.TemprPage.Controls.Add(this.label11); this.TemprPage.Controls.Add(this.domTextBox); this.TemprPage.Controls.Add(this.DailyLabel); this.TemprPage.Controls.Add(this.nightStdDevlabel); this.TemprPage.Controls.Add(this.labelmaxStdDev); this.TemprPage.Controls.Add(this.minStdDevlabel); this.TemprPage.Controls.Add(this.label10); this.TemprPage.Controls.Add(this.maxLaglabel); this.TemprPage.Controls.Add(this.nightCoeflabel1); this.TemprPage.Controls.Add(this.minLaglabel); this.TemprPage.Controls.Add(this.label9); this.TemprPage.Controls.Add(this.label8); this.TemprPage.Controls.Add(this.label7); this.TemprPage.Controls.Add(this.label5); this.TemprPage.Controls.Add(this.OptimiseLabel); this.TemprPage.Controls.Add(this.temperatureChart); this.TemprPage.Controls.Add(this.latTextBox); this.TemprPage.Controls.Add(this.label6); this.TemprPage.Location = new System.Drawing.Point(4, 25); this.TemprPage.Name = "TemprPage"; this.TemprPage.Padding = new System.Windows.Forms.Padding(3); this.TemprPage.Size = new System.Drawing.Size(1318, 635); this.TemprPage.TabIndex = 1; this.TemprPage.Text = "Diurnal Temperature"; this.TemprPage.UseVisualStyleBackColor = true; // // DownButton // this.DownButton.Location = new System.Drawing.Point(23, 374); this.DownButton.Name = "DownButton"; this.DownButton.Size = new System.Drawing.Size(51, 23); this.DownButton.TabIndex = 56; this.DownButton.Text = "Down"; this.DownButton.UseVisualStyleBackColor = true; this.DownButton.Click += new System.EventHandler(this.DownButton_Click); // // UpButton // this.UpButton.Location = new System.Drawing.Point(140, 374); this.UpButton.Name = "UpButton"; this.UpButton.Size = new System.Drawing.Size(51, 23); this.UpButton.TabIndex = 55; this.UpButton.Text = "UP"; this.UpButton.UseVisualStyleBackColor = true; this.UpButton.Click += new System.EventHandler(this.UpButton_Click); // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(67, 347); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(107, 16); this.label11.TabIndex = 54; this.label11.Text = "Day of the Month"; // // domTextBox // this.domTextBox.Location = new System.Drawing.Point(92, 375); this.domTextBox.Name = "domTextBox"; this.domTextBox.Size = new System.Drawing.Size(30, 22); this.domTextBox.TabIndex = 53; this.domTextBox.Text = "1"; this.domTextBox.TextChanged += new System.EventHandler(this.domTextBox_TextChanged); // // DailyLabel // this.DailyLabel.AutoSize = true; this.DailyLabel.Location = new System.Drawing.Point(20, 319); this.DailyLabel.Name = "DailyLabel"; this.DailyLabel.Size = new System.Drawing.Size(69, 16); this.DailyLabel.TabIndex = 52; this.DailyLabel.TabStop = true; this.DailyLabel.Text = "View Daily"; this.DailyLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.DailyLabel_LinkClicked); // // nightStdDevlabel // this.nightStdDevlabel.AutoSize = true; this.nightStdDevlabel.Location = new System.Drawing.Point(333, 256); this.nightStdDevlabel.Name = "nightStdDevlabel"; this.nightStdDevlabel.Size = new System.Drawing.Size(36, 16); this.nightStdDevlabel.TabIndex = 51; this.nightStdDevlabel.Text = "night"; // // labelmaxStdDev // this.labelmaxStdDev.AutoSize = true; this.labelmaxStdDev.Location = new System.Drawing.Point(333, 229); this.labelmaxStdDev.Name = "labelmaxStdDev"; this.labelmaxStdDev.Size = new System.Drawing.Size(33, 16); this.labelmaxStdDev.TabIndex = 50; this.labelmaxStdDev.Text = "max"; // // minStdDevlabel // this.minStdDevlabel.AutoSize = true; this.minStdDevlabel.Location = new System.Drawing.Point(333, 201); this.minStdDevlabel.Name = "minStdDevlabel"; this.minStdDevlabel.Size = new System.Drawing.Size(29, 16); this.minStdDevlabel.TabIndex = 49; this.minStdDevlabel.Text = "min"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(333, 167); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(49, 16); this.label10.TabIndex = 48; this.label10.Text = "StdDev"; // // maxLaglabel // this.maxLaglabel.AutoSize = true; this.maxLaglabel.Location = new System.Drawing.Point(273, 229); this.maxLaglabel.Name = "maxLaglabel"; this.maxLaglabel.Size = new System.Drawing.Size(33, 16); this.maxLaglabel.TabIndex = 47; this.maxLaglabel.Text = "max"; // // nightCoeflabel1 // this.nightCoeflabel1.AutoSize = true; this.nightCoeflabel1.Location = new System.Drawing.Point(273, 256); this.nightCoeflabel1.Name = "nightCoeflabel1"; this.nightCoeflabel1.Size = new System.Drawing.Size(36, 16); this.nightCoeflabel1.TabIndex = 46; this.nightCoeflabel1.Text = "night"; // // minLaglabel // this.minLaglabel.AutoSize = true; this.minLaglabel.Location = new System.Drawing.Point(273, 201); this.minLaglabel.Name = "minLaglabel"; this.minLaglabel.Size = new System.Drawing.Size(29, 16); this.minLaglabel.TabIndex = 45; this.minLaglabel.Text = "min"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(20, 256); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(247, 16); this.label9.TabIndex = 44; this.label9.Text = "Coef for night time temperature decrease:"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(20, 229); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(215, 16); this.label8.TabIndex = 43; this.label8.Text = "Max temperature after noon lag (hr):"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(19, 201); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(225, 16); this.label7.TabIndex = 42; this.label7.Text = "Min temperature after sunrise lag (hr):"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(20, 167); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(118, 16); this.label5.TabIndex = 41; this.label5.Text = "Optimised Values"; // // OptimiseLabel // this.OptimiseLabel.AutoSize = true; this.OptimiseLabel.Location = new System.Drawing.Point(20, 92); this.OptimiseLabel.Name = "OptimiseLabel"; this.OptimiseLabel.Size = new System.Drawing.Size(133, 16); this.OptimiseLabel.TabIndex = 40; this.OptimiseLabel.TabStop = true; this.OptimiseLabel.Text = "Calculate Parameters"; this.OptimiseLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.OptimiseLabel_LinkClicked); // // temperatureChart // chartArea2.AxisX.LabelStyle.IsEndLabelVisible = false; chartArea2.AxisX.Maximum = 25D; chartArea2.AxisX.Minimum = 0D; chartArea2.AxisX.Title = "Hour of the Day"; chartArea2.AxisY.Title = "Temperature (°C)"; chartArea2.Name = "ChartArea1"; this.temperatureChart.ChartAreas.Add(chartArea2); this.temperatureChart.ContextMenuStrip = this.graphMenu; legend2.Enabled = false; legend2.Name = "Legend1"; this.temperatureChart.Legends.Add(legend2); this.temperatureChart.Location = new System.Drawing.Point(402, 3); this.temperatureChart.Name = "temperatureChart"; series4.ChartArea = "ChartArea1"; series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; series4.Color = System.Drawing.Color.Wheat; series4.Legend = "Legend1"; series4.Name = "Series1"; this.temperatureChart.Series.Add(series4); this.temperatureChart.Size = new System.Drawing.Size(913, 629); this.temperatureChart.TabIndex = 39; this.temperatureChart.Text = "chart1"; title3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); title3.Name = "Title1"; title3.Text = "Hourly Temperatures"; title4.Name = "Title2"; this.temperatureChart.Titles.Add(title3); this.temperatureChart.Titles.Add(title4); // // latTextBox // this.latTextBox.Location = new System.Drawing.Point(163, 34); this.latTextBox.Name = "latTextBox"; this.latTextBox.Size = new System.Drawing.Size(76, 22); this.latTextBox.TabIndex = 24; this.latTextBox.Text = "-33.775"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(20, 33); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(71, 16); this.label6.TabIndex = 23; this.label6.Text = "Latitude (°)"; // // SPVfractForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1326, 789); this.Controls.Add(this.tabControl); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "SPVfractForm"; this.Text = "SVPfract"; this.Load += new System.EventHandler(this.SPVfractForm_Load); ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit(); this.graphMenu.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.tabControl.ResumeLayout(false); this.SVPPage.ResumeLayout(false); this.SVPPage.PerformLayout(); this.TemprPage.ResumeLayout(false); this.TemprPage.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.temperatureChart)).EndInit(); this.ResumeLayout(false); }