//----------------------------------------------------------------------- // // 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 Gauges { [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1122:UseStringEmptyForEmptyStrings", Justification = "Reviewed.")] [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 GaugeManager { /// /// 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 Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GaugeManager)); this.gaugesDataGridView = new System.Windows.Forms.DataGridView(); this.gaugeItem = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.gaugeNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.displayedItem = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.gaugeText = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.digitalItem = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.digitalText = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.digitalFormatMask = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label1 = new System.Windows.Forms.Label(); this.closeButton = new System.Windows.Forms.Button(); this.saveButton = new System.Windows.Forms.Button(); this.showGaugesButton = new System.Windows.Forms.Button(); this.pollUpDown = new System.Windows.Forms.NumericUpDown(); this.label14 = new System.Windows.Forms.Label(); this.telltalesDataGridView = new System.Windows.Forms.DataGridView(); this.telltaleItem = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleFieldNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltalePrio = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleItemName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleSensor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleSensorBit = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleText = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleIcon = new System.Windows.Forms.DataGridViewImageColumn(); this.telltalePrimaryColor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleSecondaryColor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.telltaleFlashColor = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.gaugesDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pollUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.telltalesDataGridView)).BeginInit(); this.SuspendLayout(); // // gaugesDataGridView // this.gaugesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gaugesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.gaugesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.gaugeItem, this.gaugeNumber, this.displayedItem, this.gaugeText, this.digitalItem, this.digitalText, this.digitalFormatMask}); this.gaugesDataGridView.Location = new System.Drawing.Point(12, 25); this.gaugesDataGridView.Name = "gaugesDataGridView"; this.gaugesDataGridView.Size = new System.Drawing.Size(830, 216); this.gaugesDataGridView.TabIndex = 0; this.gaugesDataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.gaugesDataGridView_CellDoubleClick); this.gaugesDataGridView.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dataGridView1_UserDeletingRow); // // gaugeItem // this.gaugeItem.HeaderText = "Item"; this.gaugeItem.Name = "gaugeItem"; this.gaugeItem.Visible = false; // // gaugeNumber // this.gaugeNumber.HeaderText = "#"; this.gaugeNumber.Name = "gaugeNumber"; this.gaugeNumber.ReadOnly = true; this.gaugeNumber.Width = 50; // // displayedItem // this.displayedItem.HeaderText = "Analogue Item"; this.displayedItem.Name = "displayedItem"; this.displayedItem.ReadOnly = true; this.displayedItem.Width = 220; // // gaugeText // this.gaugeText.HeaderText = "Gauge Text"; this.gaugeText.Name = "gaugeText"; this.gaugeText.ReadOnly = true; // // digitalItem // this.digitalItem.HeaderText = "Digital Item"; this.digitalItem.Name = "digitalItem"; this.digitalItem.ReadOnly = true; this.digitalItem.Width = 220; // // digitalText // this.digitalText.HeaderText = "Digital Text"; this.digitalText.Name = "digitalText"; this.digitalText.ReadOnly = true; // // digitalFormatMask // this.digitalFormatMask.HeaderText = "Digital Format"; this.digitalFormatMask.Name = "digitalFormatMask"; this.digitalFormatMask.Width = 80; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(179, 13); this.label1.TabIndex = 1; this.label1.Text = "Gauges (Double-click on row to edit)"; // // closeButton // this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeButton.Location = new System.Drawing.Point(851, 70); this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(127, 23); this.closeButton.TabIndex = 45; this.closeButton.Text = "Close"; this.closeButton.UseVisualStyleBackColor = true; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); // // saveButton // this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.saveButton.Location = new System.Drawing.Point(851, 12); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(127, 23); this.saveButton.TabIndex = 44; this.saveButton.Text = "Save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // showGaugesButton // this.showGaugesButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.showGaugesButton.Location = new System.Drawing.Point(851, 41); this.showGaugesButton.Name = "showGaugesButton"; this.showGaugesButton.Size = new System.Drawing.Size(127, 23); this.showGaugesButton.TabIndex = 46; this.showGaugesButton.Text = "Show Gauges"; this.showGaugesButton.UseVisualStyleBackColor = true; this.showGaugesButton.Click += new System.EventHandler(this.showGaugesButton_Click); // // pollUpDown // this.pollUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.pollUpDown.Increment = new decimal(new int[] { 10, 0, 0, 0}); this.pollUpDown.Location = new System.Drawing.Point(851, 112); this.pollUpDown.Maximum = new decimal(new int[] { 3000, 0, 0, 0}); this.pollUpDown.Minimum = new decimal(new int[] { 50, 0, 0, 0}); this.pollUpDown.Name = "pollUpDown"; this.pollUpDown.Size = new System.Drawing.Size(127, 20); this.pollUpDown.TabIndex = 48; this.pollUpDown.Value = new decimal(new int[] { 1000, 0, 0, 0}); this.pollUpDown.ValueChanged += new System.EventHandler(this.pollUpDown_ValueChanged); // // label14 // this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(848, 96); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(64, 13); this.label14.TabIndex = 47; this.label14.Text = "Interval (ms)"; // // telltalesDataGridView // this.telltalesDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.telltalesDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.telltalesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.telltaleItem, this.telltaleFieldNumber, this.telltalePrio, this.telltaleItemName, this.telltaleSensor, this.telltaleSensorBit, this.telltaleText, this.telltaleIcon, this.telltalePrimaryColor, this.telltaleSecondaryColor, this.telltaleFlashColor}); this.telltalesDataGridView.Location = new System.Drawing.Point(12, 260); this.telltalesDataGridView.Name = "telltalesDataGridView"; this.telltalesDataGridView.RowTemplate.Height = 32; this.telltalesDataGridView.Size = new System.Drawing.Size(966, 217); this.telltalesDataGridView.TabIndex = 50; this.telltalesDataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.telltalesDataGridView_CellDoubleClick); this.telltalesDataGridView.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.telltalesDataGridView_UserDeletingRow); // // telltaleItem // this.telltaleItem.HeaderText = "Item"; this.telltaleItem.Name = "telltaleItem"; this.telltaleItem.Visible = false; // // telltaleFieldNumber // this.telltaleFieldNumber.HeaderText = "Group #"; this.telltaleFieldNumber.Name = "telltaleFieldNumber"; this.telltaleFieldNumber.ReadOnly = true; this.telltaleFieldNumber.Width = 60; // // telltalePrio // this.telltalePrio.HeaderText = "Prio"; this.telltalePrio.Name = "telltalePrio"; this.telltalePrio.Width = 50; // // telltaleItemName // this.telltaleItemName.HeaderText = "Item"; this.telltaleItemName.Name = "telltaleItemName"; this.telltaleItemName.ReadOnly = true; this.telltaleItemName.Width = 185; // // telltaleSensor // this.telltaleSensor.HeaderText = "Sensor"; this.telltaleSensor.Name = "telltaleSensor"; this.telltaleSensor.ReadOnly = true; this.telltaleSensor.Width = 185; // // telltaleSensorBit // this.telltaleSensorBit.HeaderText = "Bit #"; this.telltaleSensorBit.Name = "telltaleSensorBit"; this.telltaleSensorBit.ReadOnly = true; this.telltaleSensorBit.Width = 60; // // telltaleText // this.telltaleText.HeaderText = "Text"; this.telltaleText.Name = "telltaleText"; this.telltaleText.ReadOnly = true; // // telltaleIcon // this.telltaleIcon.HeaderText = "Icon"; this.telltaleIcon.Name = "telltaleIcon"; this.telltaleIcon.ReadOnly = true; this.telltaleIcon.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.telltaleIcon.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.telltaleIcon.Width = 55; // // telltalePrimaryColor // this.telltalePrimaryColor.HeaderText = "Primary Color"; this.telltalePrimaryColor.Name = "telltalePrimaryColor"; this.telltalePrimaryColor.ReadOnly = true; this.telltalePrimaryColor.Width = 70; // // telltaleSecondaryColor // this.telltaleSecondaryColor.HeaderText = "Secondary Color"; this.telltaleSecondaryColor.Name = "telltaleSecondaryColor"; this.telltaleSecondaryColor.ReadOnly = true; this.telltaleSecondaryColor.Width = 70; // // telltaleFlashColor // this.telltaleFlashColor.HeaderText = "Flash Color"; this.telltaleFlashColor.Name = "telltaleFlashColor"; this.telltaleFlashColor.ReadOnly = true; this.telltaleFlashColor.Width = 70; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 244); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(181, 13); this.label2.TabIndex = 51; this.label2.Text = "Telltales (Double-click on row to edit)"; // // GaugeManager // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(990, 489); this.ControlBox = false; this.Controls.Add(this.label2); this.Controls.Add(this.telltalesDataGridView); this.Controls.Add(this.pollUpDown); this.Controls.Add(this.label14); this.Controls.Add(this.showGaugesButton); this.Controls.Add(this.closeButton); this.Controls.Add(this.saveButton); this.Controls.Add(this.label1); this.Controls.Add(this.gaugesDataGridView); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "GaugeManager"; this.Text = "GaugeManager"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.GaugeManager_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.gaugesDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pollUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.telltalesDataGridView)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.DataGridView gaugesDataGridView; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button closeButton; private System.Windows.Forms.Button saveButton; private System.Windows.Forms.Button showGaugesButton; private System.Windows.Forms.Label label14; private System.Windows.Forms.NumericUpDown pollUpDown; private System.Windows.Forms.DataGridViewTextBoxColumn gaugeItem; private System.Windows.Forms.DataGridViewTextBoxColumn gaugeNumber; private System.Windows.Forms.DataGridViewTextBoxColumn displayedItem; private System.Windows.Forms.DataGridViewTextBoxColumn gaugeText; private System.Windows.Forms.DataGridViewTextBoxColumn digitalItem; private System.Windows.Forms.DataGridViewTextBoxColumn digitalText; private System.Windows.Forms.DataGridViewTextBoxColumn digitalFormatMask; private System.Windows.Forms.DataGridView telltalesDataGridView; private System.Windows.Forms.Label label2; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleItem; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleFieldNumber; private System.Windows.Forms.DataGridViewTextBoxColumn telltalePrio; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleItemName; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleSensor; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleSensorBit; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleText; private System.Windows.Forms.DataGridViewImageColumn telltaleIcon; private System.Windows.Forms.DataGridViewTextBoxColumn telltalePrimaryColor; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleSecondaryColor; private System.Windows.Forms.DataGridViewTextBoxColumn telltaleFlashColor; } }