//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar. All rights reserved. // //----------------------------------------------------------------------- /* * Software to access vehicle information via the OBD-II connector. * * Copyright © 2012 Nils Hammar * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Alternative licensing is possible, see the licensing document. * * The above text may not be removed or modified. */ namespace UserInterface.GUI.OBD { [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1202:ElementsMustBeOrderedByAccess", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1101:PrefixLocalCallsWithThis", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1400:AccessModifierMustBeDeclared", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1513:ClosingCurlyBracketMustBeFollowedByBlankLine", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1601:PartialElementsMustBeDocumented", Justification = "Tool Generated.")] partial class CurrentDataPanel { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Mobility", "CA1601:DoNotUseTimersThatPreventPowerStateChanges")] private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.obdDataPanel1 = new UserInterface.GUI.OBD.ObdDataPanel(); this.label1 = new System.Windows.Forms.Label(); this.pollUpDown = new System.Windows.Forms.NumericUpDown(); this.plotDataCheckBox = new System.Windows.Forms.CheckBox(); this.logDataCheckBox = new System.Windows.Forms.CheckBox(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.saveChartsButton = new System.Windows.Forms.Button(); this.saveDataButton = new System.Windows.Forms.Button(); this.saveButton = new System.Windows.Forms.Button(); this.loadButton = new System.Windows.Forms.Button(); this.clearButton = new System.Windows.Forms.Button(); this.goButton = new System.Windows.Forms.Button(); this.stopButton = new System.Windows.Forms.Button(); this.refreshButton = new System.Windows.Forms.Button(); this.getSnapshotDataButton = new System.Windows.Forms.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.timer1 = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.pollUpDown)).BeginInit(); this.SuspendLayout(); // // obdDataPanel1 // this.obdDataPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.obdDataPanel1.Location = new System.Drawing.Point(3, 61); this.obdDataPanel1.Name = "obdDataPanel1"; this.obdDataPanel1.Size = new System.Drawing.Size(664, 436); this.obdDataPanel1.TabIndex = 7; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(341, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 13); this.label1.TabIndex = 10; this.label1.Text = "Interval (ms)"; // // pollUpDown // this.pollUpDown.Increment = new decimal(new int[] { 20, 0, 0, 0}); this.pollUpDown.Location = new System.Drawing.Point(411, 6); this.pollUpDown.Maximum = new decimal(new int[] { 30000, 0, 0, 0}); this.pollUpDown.Minimum = new decimal(new int[] { 20, 0, 0, 0}); this.pollUpDown.Name = "pollUpDown"; this.pollUpDown.Size = new System.Drawing.Size(77, 20); this.pollUpDown.TabIndex = 11; this.pollUpDown.Value = new decimal(new int[] { 1000, 0, 0, 0}); this.pollUpDown.ValueChanged += new System.EventHandler(this.pollUpDown_ValueChanged); // // plotDataCheckBox // this.plotDataCheckBox.AutoSize = true; this.plotDataCheckBox.Location = new System.Drawing.Point(265, 7); this.plotDataCheckBox.Name = "plotDataCheckBox"; this.plotDataCheckBox.Size = new System.Drawing.Size(70, 17); this.plotDataCheckBox.TabIndex = 15; this.plotDataCheckBox.Text = "Plot Data"; this.plotDataCheckBox.UseVisualStyleBackColor = true; this.plotDataCheckBox.CheckedChanged += new System.EventHandler(this.plotDataCheckBox_CheckedChanged); // // logDataCheckBox // this.logDataCheckBox.AutoSize = true; this.logDataCheckBox.Location = new System.Drawing.Point(265, 36); this.logDataCheckBox.Name = "logDataCheckBox"; this.logDataCheckBox.Size = new System.Drawing.Size(70, 17); this.logDataCheckBox.TabIndex = 16; this.logDataCheckBox.Text = "Log Data"; this.logDataCheckBox.UseVisualStyleBackColor = true; this.logDataCheckBox.CheckedChanged += new System.EventHandler(this.logDataCheckBox_CheckedChanged); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // saveChartsButton // this.saveChartsButton.Image = global::UserInterface.Properties.Resources.disk_multiple_orange; this.saveChartsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveChartsButton.Location = new System.Drawing.Point(567, 32); this.saveChartsButton.Name = "saveChartsButton"; this.saveChartsButton.Size = new System.Drawing.Size(98, 23); this.saveChartsButton.TabIndex = 21; this.saveChartsButton.Text = "Save Charts"; this.saveChartsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.saveChartsButton.UseVisualStyleBackColor = true; this.saveChartsButton.Click += new System.EventHandler(this.saveChartsButton_Click); // // saveDataButton // this.saveDataButton.Image = global::UserInterface.Properties.Resources.disk_multiple; this.saveDataButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveDataButton.Location = new System.Drawing.Point(463, 32); this.saveDataButton.Name = "saveDataButton"; this.saveDataButton.Size = new System.Drawing.Size(98, 23); this.saveDataButton.TabIndex = 20; this.saveDataButton.Text = "Save Data"; this.saveDataButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.saveDataButton.UseVisualStyleBackColor = true; this.saveDataButton.Click += new System.EventHandler(this.saveDataButton_Click); // // saveButton // this.saveButton.Image = global::UserInterface.Properties.Resources.disk; this.saveButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveButton.Location = new System.Drawing.Point(3, 32); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(70, 23); this.saveButton.TabIndex = 19; this.saveButton.Text = "Save"; this.saveButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // loadButton // this.loadButton.Image = global::UserInterface.Properties.Resources.book_open; this.loadButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.loadButton.Location = new System.Drawing.Point(79, 32); this.loadButton.Name = "loadButton"; this.loadButton.Size = new System.Drawing.Size(104, 23); this.loadButton.TabIndex = 18; this.loadButton.Text = "Load Selection"; this.loadButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.loadButton.UseVisualStyleBackColor = true; this.loadButton.Click += new System.EventHandler(this.loadButton_Click); // // clearButton // this.clearButton.Image = global::UserInterface.Properties.Resources.cancel; this.clearButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.clearButton.Location = new System.Drawing.Point(608, 3); this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(57, 23); this.clearButton.TabIndex = 17; this.clearButton.Text = "Clear"; this.clearButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.clearButton.UseVisualStyleBackColor = true; this.clearButton.Click += new System.EventHandler(this.clearButton_Click); // // goButton // this.goButton.Image = global::UserInterface.Properties.Resources.application_go; this.goButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.goButton.Location = new System.Drawing.Point(494, 3); this.goButton.Name = "goButton"; this.goButton.Size = new System.Drawing.Size(49, 23); this.goButton.TabIndex = 14; this.goButton.Text = "Go"; this.goButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.goButton.UseVisualStyleBackColor = true; this.goButton.Click += new System.EventHandler(this.goButton_Click); // // stopButton // this.stopButton.Enabled = false; this.stopButton.Image = global::UserInterface.Properties.Resources.stop; this.stopButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.stopButton.Location = new System.Drawing.Point(549, 3); this.stopButton.Name = "stopButton"; this.stopButton.Size = new System.Drawing.Size(53, 23); this.stopButton.TabIndex = 13; this.stopButton.Text = "Stop"; this.stopButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.stopButton.UseVisualStyleBackColor = true; this.stopButton.Click += new System.EventHandler(this.stopButton_Click); // // refreshButton // this.refreshButton.Image = global::UserInterface.Properties.Resources.arrow_refresh; this.refreshButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.refreshButton.Location = new System.Drawing.Point(3, 3); this.refreshButton.Name = "refreshButton"; this.refreshButton.Size = new System.Drawing.Size(70, 23); this.refreshButton.TabIndex = 8; this.refreshButton.Text = "Refresh"; this.refreshButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.refreshButton.UseVisualStyleBackColor = true; this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); // // getSnapshotDataButton // this.getSnapshotDataButton.Image = global::UserInterface.Properties.Resources.table_multiple; this.getSnapshotDataButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.getSnapshotDataButton.Location = new System.Drawing.Point(79, 3); this.getSnapshotDataButton.Name = "getSnapshotDataButton"; this.getSnapshotDataButton.Size = new System.Drawing.Size(104, 23); this.getSnapshotDataButton.TabIndex = 5; this.getSnapshotDataButton.Text = "Snapshot Data"; this.getSnapshotDataButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.getSnapshotDataButton.UseVisualStyleBackColor = true; this.getSnapshotDataButton.Click += new System.EventHandler(this.getSnapshotDataButton_Click); this.getSnapshotDataButton.Paint += new System.Windows.Forms.PaintEventHandler(this.getSnapshotDataButton_Paint); // // progressBar1 // this.progressBar1.ForeColor = System.Drawing.Color.Blue; this.progressBar1.Location = new System.Drawing.Point(344, 36); this.progressBar1.Maximum = 5; this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(61, 17); this.progressBar1.Step = 5; this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar1.TabIndex = 22; // // timer1 // this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // CurrentDataPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.progressBar1); this.Controls.Add(this.saveChartsButton); this.Controls.Add(this.saveDataButton); this.Controls.Add(this.saveButton); this.Controls.Add(this.loadButton); this.Controls.Add(this.clearButton); this.Controls.Add(this.obdDataPanel1); this.Controls.Add(this.logDataCheckBox); this.Controls.Add(this.plotDataCheckBox); this.Controls.Add(this.goButton); this.Controls.Add(this.stopButton); this.Controls.Add(this.pollUpDown); this.Controls.Add(this.label1); this.Controls.Add(this.refreshButton); this.Controls.Add(this.getSnapshotDataButton); this.Name = "CurrentDataPanel"; this.Size = new System.Drawing.Size(670, 500); this.VisibleChanged += new System.EventHandler(this.CurrentDataPanel_VisibleChanged); this.MouseEnter += new System.EventHandler(this.CurrentDataPanel_MouseEnter); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.CurrentDataPanel_MouseMove); ((System.ComponentModel.ISupportInitialize)(this.pollUpDown)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button getSnapshotDataButton; private ObdDataPanel obdDataPanel1; private System.Windows.Forms.Button refreshButton; private System.Windows.Forms.Label label1; private System.Windows.Forms.NumericUpDown pollUpDown; private System.Windows.Forms.Button stopButton; private System.Windows.Forms.Button goButton; private System.Windows.Forms.CheckBox plotDataCheckBox; private System.Windows.Forms.CheckBox logDataCheckBox; private System.Windows.Forms.Button clearButton; private System.Windows.Forms.Button loadButton; private System.Windows.Forms.Button saveButton; private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.OpenFileDialog openFileDialog1; private System.Windows.Forms.Button saveDataButton; private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1; private System.Windows.Forms.Button saveChartsButton; private System.Windows.Forms.ProgressBar progressBar1; private System.Windows.Forms.Timer timer1; } }