//----------------------------------------------------------------------- // // 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 ObdDtcPanel { /// /// 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. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ObdDtcPanel)); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.dtcDGV = new System.Windows.Forms.DataGridView(); this.count = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ecu = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dtc = new System.Windows.Forms.DataGridViewLinkColumn(); this.description = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.saveDtcsButton = new System.Windows.Forms.Button(); this.clearDtcsButton = new System.Windows.Forms.Button(); this.permanentDtcsButton = new System.Windows.Forms.Button(); this.pendingDtcsButton = new System.Windows.Forms.Button(); this.currentDtcsButton = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.dtcDGV)).BeginInit(); this.SuspendLayout(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "table_multiple.png"); this.imageList1.Images.SetKeyName(1, "page_white_error.png"); this.imageList1.Images.SetKeyName(2, "chart_line.png"); // // dtcDGV // this.dtcDGV.AllowUserToAddRows = false; this.dtcDGV.AllowUserToDeleteRows = false; this.dtcDGV.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.dtcDGV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dtcDGV.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.count, this.ecu, this.dtc, this.description}); this.dtcDGV.Location = new System.Drawing.Point(3, 32); this.dtcDGV.Name = "dtcDGV"; this.dtcDGV.Size = new System.Drawing.Size(814, 467); this.dtcDGV.TabIndex = 5; this.dtcDGV.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtcDGV_CellContentClick); this.dtcDGV.SizeChanged += new System.EventHandler(this.dtcDGW_SizeChanged); // // count // this.count.HeaderText = "#"; this.count.Name = "count"; this.count.ReadOnly = true; this.count.Width = 40; // // ecu // this.ecu.HeaderText = "ECU"; this.ecu.Name = "ecu"; // // dtc // this.dtc.HeaderText = "DTC"; this.dtc.Name = "dtc"; this.dtc.ReadOnly = true; this.dtc.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.dtc.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.dtc.Width = 60; // // description // this.description.HeaderText = "Description"; this.description.Name = "description"; this.description.ReadOnly = true; this.description.Width = 554; // // saveDtcsButton // this.saveDtcsButton.Image = global::UserInterface.Properties.Resources.page_save; this.saveDtcsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveDtcsButton.Location = new System.Drawing.Point(405, 3); this.saveDtcsButton.Name = "saveDtcsButton"; this.saveDtcsButton.Size = new System.Drawing.Size(128, 23); this.saveDtcsButton.TabIndex = 7; this.saveDtcsButton.Text = "Save DTCs"; this.saveDtcsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.saveDtcsButton.UseVisualStyleBackColor = true; this.saveDtcsButton.Click += new System.EventHandler(this.saveDtcsButton_Click); // // clearDtcsButton // this.clearDtcsButton.Image = global::UserInterface.Properties.Resources.page_white_delete; this.clearDtcsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.clearDtcsButton.Location = new System.Drawing.Point(539, 3); this.clearDtcsButton.Name = "clearDtcsButton"; this.clearDtcsButton.Size = new System.Drawing.Size(128, 23); this.clearDtcsButton.TabIndex = 6; this.clearDtcsButton.Text = "Clear DTCs"; this.clearDtcsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.clearDtcsButton.UseVisualStyleBackColor = true; this.clearDtcsButton.Click += new System.EventHandler(this.clearDtcsButton_Click); // // permanentDtcsButton // this.permanentDtcsButton.Image = global::UserInterface.Properties.Resources.database; this.permanentDtcsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.permanentDtcsButton.Location = new System.Drawing.Point(271, 3); this.permanentDtcsButton.Name = "permanentDtcsButton"; this.permanentDtcsButton.Size = new System.Drawing.Size(128, 23); this.permanentDtcsButton.TabIndex = 4; this.permanentDtcsButton.Text = "Permanent DTCs"; this.permanentDtcsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.permanentDtcsButton.UseVisualStyleBackColor = true; this.permanentDtcsButton.Click += new System.EventHandler(this.permanentDtcsButton_Click); // // pendingDtcsButton // this.pendingDtcsButton.Image = global::UserInterface.Properties.Resources.page_white_error; this.pendingDtcsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.pendingDtcsButton.Location = new System.Drawing.Point(137, 3); this.pendingDtcsButton.Name = "pendingDtcsButton"; this.pendingDtcsButton.Size = new System.Drawing.Size(128, 23); this.pendingDtcsButton.TabIndex = 3; this.pendingDtcsButton.Text = "Pending DTCs"; this.pendingDtcsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.pendingDtcsButton.UseVisualStyleBackColor = true; this.pendingDtcsButton.Click += new System.EventHandler(this.pendingDtcsButton_Click); // // currentDtcsButton // this.currentDtcsButton.Image = global::UserInterface.Properties.Resources.page_red; this.currentDtcsButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.currentDtcsButton.Location = new System.Drawing.Point(3, 3); this.currentDtcsButton.Name = "currentDtcsButton"; this.currentDtcsButton.Size = new System.Drawing.Size(128, 23); this.currentDtcsButton.TabIndex = 2; this.currentDtcsButton.Text = "Current DTCs"; this.currentDtcsButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.currentDtcsButton.UseVisualStyleBackColor = true; this.currentDtcsButton.Click += new System.EventHandler(this.currentDtcsButton_Click); // // ObdDtcPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.saveDtcsButton); this.Controls.Add(this.clearDtcsButton); this.Controls.Add(this.dtcDGV); this.Controls.Add(this.permanentDtcsButton); this.Controls.Add(this.pendingDtcsButton); this.Controls.Add(this.currentDtcsButton); this.Name = "ObdDtcPanel"; this.Size = new System.Drawing.Size(820, 502); ((System.ComponentModel.ISupportInitialize)(this.dtcDGV)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.Button currentDtcsButton; private System.Windows.Forms.Button pendingDtcsButton; private System.Windows.Forms.Button permanentDtcsButton; private System.Windows.Forms.DataGridView dtcDGV; private System.Windows.Forms.DataGridViewTextBoxColumn count; private System.Windows.Forms.DataGridViewTextBoxColumn ecu; private System.Windows.Forms.DataGridViewLinkColumn dtc; private System.Windows.Forms.DataGridViewTextBoxColumn description; private System.Windows.Forms.Button clearDtcsButton; private System.Windows.Forms.Button saveDtcsButton; private System.Windows.Forms.SaveFileDialog saveFileDialog1; } }