//----------------------------------------------------------------------- // // 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 { [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1611:ElementParametersMustBeDocumented", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1122:UseStringEmptyForEmptyStrings", Justification = "Tool Generated.")] [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 PreferencesPanel { /// /// 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(PreferencesPanel)); this.uriTestButton = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.obdCodeDatabaseURI = new System.Windows.Forms.TextBox(); this.label11 = new System.Windows.Forms.Label(); this.timeoutUD = new System.Windows.Forms.NumericUpDown(); this.label10 = new System.Windows.Forms.Label(); this.preferredUnits = new System.Windows.Forms.ComboBox(); this.secondaryYThresholdUD = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); this.advancedModeCB = new System.Windows.Forms.CheckBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.gpsSerialPortNameComboBox = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.developerModeCB = new System.Windows.Forms.CheckBox(); this.sendDelayNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label4 = new System.Windows.Forms.Label(); this.blockSizeNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.frameSpacingNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label6 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.timeoutUD)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.secondaryYThresholdUD)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sendDelayNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.blockSizeNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.frameSpacingNumericUpDown)).BeginInit(); this.SuspendLayout(); // // uriTestButton // this.uriTestButton.Location = new System.Drawing.Point(362, 103); this.uriTestButton.Name = "uriTestButton"; this.uriTestButton.Size = new System.Drawing.Size(75, 23); this.uriTestButton.TabIndex = 4; this.uriTestButton.Text = "Test"; this.uriTestButton.UseVisualStyleBackColor = true; this.uriTestButton.Click += new System.EventHandler(this.uriTestButton_Click); // // textBox2 // this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.Location = new System.Drawing.Point(3, 129); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(680, 167); this.textBox2.TabIndex = 5; this.textBox2.Text = resources.GetString("textBox2.Text"); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(3, 87); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(107, 13); this.label5.TabIndex = 71; this.label5.Text = "OBD Code Database"; // // obdCodeDatabaseURI // this.obdCodeDatabaseURI.Location = new System.Drawing.Point(3, 103); this.obdCodeDatabaseURI.Name = "obdCodeDatabaseURI"; this.obdCodeDatabaseURI.Size = new System.Drawing.Size(353, 20); this.obdCodeDatabaseURI.TabIndex = 3; this.obdCodeDatabaseURI.Validating += new System.ComponentModel.CancelEventHandler(this.obdCodeDatabaseURI_Validating); this.obdCodeDatabaseURI.Validated += new System.EventHandler(this.obdCodeDatabaseURI_Validated); // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(0, 40); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(45, 13); this.label11.TabIndex = 68; this.label11.Text = "Timeout"; // // timeoutUD // this.timeoutUD.Increment = new decimal(new int[] { 100, 0, 0, 0}); this.timeoutUD.Location = new System.Drawing.Point(3, 56); this.timeoutUD.Maximum = new decimal(new int[] { 30000, 0, 0, 0}); this.timeoutUD.Minimum = new decimal(new int[] { 100, 0, 0, 0}); this.timeoutUD.Name = "timeoutUD"; this.timeoutUD.Size = new System.Drawing.Size(75, 20); this.timeoutUD.TabIndex = 2; this.timeoutUD.Value = new decimal(new int[] { 1000, 0, 0, 0}); this.timeoutUD.ValueChanged += new System.EventHandler(this.timeoutUD_ValueChanged); // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(3, 0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(31, 13); this.label10.TabIndex = 66; this.label10.Text = "Units"; // // preferredUnits // this.preferredUnits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.preferredUnits.FormattingEnabled = true; this.preferredUnits.Location = new System.Drawing.Point(3, 16); this.preferredUnits.Name = "preferredUnits"; this.preferredUnits.Size = new System.Drawing.Size(155, 21); this.preferredUnits.TabIndex = 1; this.preferredUnits.SelectedIndexChanged += new System.EventHandler(this.preferredUnits_SelectedIndexChanged); // // secondaryYThresholdUD // this.secondaryYThresholdUD.Increment = new decimal(new int[] { 5, 0, 0, 0}); this.secondaryYThresholdUD.Location = new System.Drawing.Point(84, 56); this.secondaryYThresholdUD.Minimum = new decimal(new int[] { 5, 0, 0, 0}); this.secondaryYThresholdUD.Name = "secondaryYThresholdUD"; this.secondaryYThresholdUD.Size = new System.Drawing.Size(75, 20); this.secondaryYThresholdUD.TabIndex = 74; this.secondaryYThresholdUD.Value = new decimal(new int[] { 20, 0, 0, 0}); this.secondaryYThresholdUD.ValueChanged += new System.EventHandler(this.secondaryYThresholdUD_ValueChanged); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(81, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(114, 13); this.label3.TabIndex = 75; this.label3.Text = "Secondary Y threshold"; // // advancedModeCB // this.advancedModeCB.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.advancedModeCB.AutoSize = true; this.advancedModeCB.Location = new System.Drawing.Point(578, 3); this.advancedModeCB.Name = "advancedModeCB"; this.advancedModeCB.Size = new System.Drawing.Size(105, 17); this.advancedModeCB.TabIndex = 76; this.advancedModeCB.Text = "Advanced Mode"; this.advancedModeCB.UseVisualStyleBackColor = true; this.advancedModeCB.CheckedChanged += new System.EventHandler(this.advancedModeCB_CheckedChanged); // // gpsSerialPortNameComboBox // this.gpsSerialPortNameComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.gpsSerialPortNameComboBox.DropDownWidth = 400; this.gpsSerialPortNameComboBox.FormattingEnabled = true; this.gpsSerialPortNameComboBox.Location = new System.Drawing.Point(3, 315); this.gpsSerialPortNameComboBox.Name = "gpsSerialPortNameComboBox"; this.gpsSerialPortNameComboBox.Size = new System.Drawing.Size(268, 21); this.gpsSerialPortNameComboBox.TabIndex = 77; this.gpsSerialPortNameComboBox.SelectedIndexChanged += new System.EventHandler(this.gpsSerialPortNameComboBox_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 299); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(51, 13); this.label1.TabIndex = 78; this.label1.Text = "GPS Port"; // // developerModeCB // this.developerModeCB.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.developerModeCB.AutoSize = true; this.developerModeCB.Location = new System.Drawing.Point(578, 26); this.developerModeCB.Name = "developerModeCB"; this.developerModeCB.Size = new System.Drawing.Size(105, 17); this.developerModeCB.TabIndex = 79; this.developerModeCB.Text = "Developer Mode"; this.developerModeCB.UseVisualStyleBackColor = true; this.developerModeCB.CheckedChanged += new System.EventHandler(this.developerModeCB_CheckedChanged); // // sendDelayNumericUpDown // this.sendDelayNumericUpDown.Location = new System.Drawing.Point(204, 56); this.sendDelayNumericUpDown.Name = "sendDelayNumericUpDown"; this.sendDelayNumericUpDown.Size = new System.Drawing.Size(81, 20); this.sendDelayNumericUpDown.TabIndex = 82; this.sendDelayNumericUpDown.Value = new decimal(new int[] { 20, 0, 0, 0}); this.sendDelayNumericUpDown.ValueChanged += new System.EventHandler(this.sendDelayNumericUpDown_ValueChanged); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(201, 40); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(84, 13); this.label4.TabIndex = 83; this.label4.Text = "Send Delay (ms)"; // // blockSizeNumericUpDown // this.blockSizeNumericUpDown.Location = new System.Drawing.Point(291, 56); this.blockSizeNumericUpDown.Maximum = new decimal(new int[] { 255, 0, 0, 0}); this.blockSizeNumericUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 0}); this.blockSizeNumericUpDown.Name = "blockSizeNumericUpDown"; this.blockSizeNumericUpDown.Size = new System.Drawing.Size(57, 20); this.blockSizeNumericUpDown.TabIndex = 84; this.blockSizeNumericUpDown.Value = new decimal(new int[] { 3, 0, 0, 0}); this.blockSizeNumericUpDown.ValueChanged += new System.EventHandler(this.blockSizeNumericUpDown_ValueChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(291, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(57, 13); this.label2.TabIndex = 85; this.label2.Text = "Block Size"; // // frameSpacingNumericUpDown // this.frameSpacingNumericUpDown.Location = new System.Drawing.Point(354, 56); this.frameSpacingNumericUpDown.Maximum = new decimal(new int[] { 127, 0, 0, 0}); this.frameSpacingNumericUpDown.Name = "frameSpacingNumericUpDown"; this.frameSpacingNumericUpDown.Size = new System.Drawing.Size(46, 20); this.frameSpacingNumericUpDown.TabIndex = 86; this.frameSpacingNumericUpDown.Value = new decimal(new int[] { 20, 0, 0, 0}); this.frameSpacingNumericUpDown.ValueChanged += new System.EventHandler(this.frameSpacingNumericUpDown_ValueChanged); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(354, 14); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(46, 39); this.label6.TabIndex = 87; this.label6.Text = "Frame\r\nSpacing\r\n(ms)"; // // PreferencesPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.label6); this.Controls.Add(this.frameSpacingNumericUpDown); this.Controls.Add(this.label2); this.Controls.Add(this.blockSizeNumericUpDown); this.Controls.Add(this.label4); this.Controls.Add(this.sendDelayNumericUpDown); this.Controls.Add(this.developerModeCB); this.Controls.Add(this.label1); this.Controls.Add(this.gpsSerialPortNameComboBox); this.Controls.Add(this.advancedModeCB); this.Controls.Add(this.label3); this.Controls.Add(this.secondaryYThresholdUD); this.Controls.Add(this.uriTestButton); this.Controls.Add(this.textBox2); this.Controls.Add(this.label5); this.Controls.Add(this.obdCodeDatabaseURI); this.Controls.Add(this.label11); this.Controls.Add(this.timeoutUD); this.Controls.Add(this.label10); this.Controls.Add(this.preferredUnits); this.Name = "PreferencesPanel"; this.Size = new System.Drawing.Size(686, 504); ((System.ComponentModel.ISupportInitialize)(this.timeoutUD)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.secondaryYThresholdUD)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sendDelayNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.blockSizeNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.frameSpacingNumericUpDown)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button uriTestButton; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox obdCodeDatabaseURI; private System.Windows.Forms.Label label11; private System.Windows.Forms.NumericUpDown timeoutUD; private System.Windows.Forms.Label label10; private System.Windows.Forms.ComboBox preferredUnits; private System.Windows.Forms.NumericUpDown secondaryYThresholdUD; private System.Windows.Forms.Label label3; private System.Windows.Forms.CheckBox advancedModeCB; private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.ComboBox gpsSerialPortNameComboBox; private System.Windows.Forms.Label label1; private System.Windows.Forms.CheckBox developerModeCB; private System.Windows.Forms.NumericUpDown sendDelayNumericUpDown; private System.Windows.Forms.Label label4; private System.Windows.Forms.NumericUpDown blockSizeNumericUpDown; private System.Windows.Forms.Label label2; private System.Windows.Forms.NumericUpDown frameSpacingNumericUpDown; private System.Windows.Forms.Label label6; } }