//----------------------------------------------------------------------- // // 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 InterfacePanel { /// /// 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)) { this.serialPortHandler.Dispose(); 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(InterfacePanel)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.quickOpenBT = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.defaultValuesButton = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.vehicleCB = new System.Windows.Forms.ComboBox(); this.readVersionBT = new System.Windows.Forms.Button(); this.lastErrorBT = new System.Windows.Forms.Button(); this.interfaceDescription = new System.Windows.Forms.TextBox(); this.serialPortStopbitsLabel = new System.Windows.Forms.Label(); this.serialPortStopBitsComboBox = new System.Windows.Forms.ComboBox(); this.serialPortParityLabel = new System.Windows.Forms.Label(); this.serialPortParityComboBox = new System.Windows.Forms.ComboBox(); this.serialPortDatabitsLabel = new System.Windows.Forms.Label(); this.serialPortDatabitsComboBox = new System.Windows.Forms.ComboBox(); this.serialPortSpeedComboBox = new System.Windows.Forms.ComboBox(); this.serialPortSpeedLabel = new System.Windows.Forms.Label(); this.serialPortLabel = new System.Windows.Forms.Label(); this.serialPortNameComboBox = new System.Windows.Forms.ComboBox(); this.openBT = new System.Windows.Forms.Button(); this.closeBT = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.protocolSelectPanel1 = new UserInterface.GUI.ProtocolSelectPanel(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.protocolSelectPanel1); this.groupBox1.Controls.Add(this.quickOpenBT); this.groupBox1.Controls.Add(this.textBox1); this.groupBox1.Controls.Add(this.defaultValuesButton); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.vehicleCB); this.groupBox1.Controls.Add(this.readVersionBT); this.groupBox1.Controls.Add(this.lastErrorBT); this.groupBox1.Controls.Add(this.interfaceDescription); this.groupBox1.Controls.Add(this.serialPortStopbitsLabel); this.groupBox1.Controls.Add(this.serialPortStopBitsComboBox); this.groupBox1.Controls.Add(this.serialPortParityLabel); this.groupBox1.Controls.Add(this.serialPortParityComboBox); this.groupBox1.Controls.Add(this.serialPortDatabitsLabel); this.groupBox1.Controls.Add(this.serialPortDatabitsComboBox); this.groupBox1.Controls.Add(this.serialPortSpeedComboBox); this.groupBox1.Controls.Add(this.serialPortSpeedLabel); this.groupBox1.Controls.Add(this.serialPortLabel); this.groupBox1.Controls.Add(this.serialPortNameComboBox); this.groupBox1.Controls.Add(this.openBT); this.groupBox1.Controls.Add(this.closeBT); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(686, 504); this.groupBox1.TabIndex = 27; this.groupBox1.TabStop = false; this.groupBox1.Text = "Interface"; // // quickOpenBT // this.quickOpenBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.quickOpenBT.Enabled = false; this.quickOpenBT.Image = global::UserInterface.Properties.Resources.connect_add; this.quickOpenBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.quickOpenBT.Location = new System.Drawing.Point(554, 17); this.quickOpenBT.Name = "quickOpenBT"; this.quickOpenBT.Size = new System.Drawing.Size(126, 23); this.quickOpenBT.TabIndex = 17; this.quickOpenBT.Text = "Quick Open"; this.quickOpenBT.UseVisualStyleBackColor = true; this.quickOpenBT.Click += new System.EventHandler(this.quickOpenBT_Click); // // textBox1 // this.textBox1.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.textBox1.Location = new System.Drawing.Point(6, 166); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(230, 239); this.textBox1.TabIndex = 23; this.textBox1.Text = resources.GetString("textBox1.Text"); this.textBox1.Visible = false; // // defaultValuesButton // this.defaultValuesButton.Location = new System.Drawing.Point(264, 136); this.defaultValuesButton.Name = "defaultValuesButton"; this.defaultValuesButton.Size = new System.Drawing.Size(75, 23); this.defaultValuesButton.TabIndex = 16; this.defaultValuesButton.Text = "Default"; this.defaultValuesButton.UseVisualStyleBackColor = true; this.defaultValuesButton.Visible = false; this.defaultValuesButton.Click += new System.EventHandler(this.defaultValuesButton_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(6, 42); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(42, 13); this.label1.TabIndex = 43; this.label1.Text = "Vehicle"; // // vehicleCB // this.vehicleCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.vehicleCB.FormattingEnabled = true; this.vehicleCB.Location = new System.Drawing.Point(6, 58); this.vehicleCB.Name = "vehicleCB"; this.vehicleCB.Size = new System.Drawing.Size(288, 21); this.vehicleCB.TabIndex = 10; this.vehicleCB.SelectedIndexChanged += new System.EventHandler(this.vehicleCB_SelectedIndexChanged); // // readVersionBT // this.readVersionBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.readVersionBT.Enabled = false; this.readVersionBT.Image = global::UserInterface.Properties.Resources.text_list_numbers; this.readVersionBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.readVersionBT.Location = new System.Drawing.Point(554, 104); this.readVersionBT.Name = "readVersionBT"; this.readVersionBT.Size = new System.Drawing.Size(126, 23); this.readVersionBT.TabIndex = 20; this.readVersionBT.Text = "API Version"; this.readVersionBT.UseVisualStyleBackColor = true; this.readVersionBT.Click += new System.EventHandler(this.readVersionBT_Click); // // lastErrorBT // this.lastErrorBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lastErrorBT.Enabled = false; this.lastErrorBT.Image = global::UserInterface.Properties.Resources.table_error; this.lastErrorBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.lastErrorBT.Location = new System.Drawing.Point(554, 133); this.lastErrorBT.Name = "lastErrorBT"; this.lastErrorBT.Size = new System.Drawing.Size(126, 23); this.lastErrorBT.TabIndex = 21; this.lastErrorBT.Text = "Last Error"; this.lastErrorBT.UseVisualStyleBackColor = true; this.lastErrorBT.Click += new System.EventHandler(this.lastErrorBT_Click); // // interfaceDescription // this.interfaceDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.interfaceDescription.Location = new System.Drawing.Point(6, 19); this.interfaceDescription.Name = "interfaceDescription"; this.interfaceDescription.ReadOnly = true; this.interfaceDescription.Size = new System.Drawing.Size(542, 20); this.interfaceDescription.TabIndex = 22; // // serialPortStopbitsLabel // this.serialPortStopbitsLabel.AutoSize = true; this.serialPortStopbitsLabel.Location = new System.Drawing.Point(160, 122); this.serialPortStopbitsLabel.Name = "serialPortStopbitsLabel"; this.serialPortStopbitsLabel.Size = new System.Drawing.Size(45, 13); this.serialPortStopbitsLabel.TabIndex = 15; this.serialPortStopbitsLabel.Text = "Stopbits"; this.serialPortStopbitsLabel.Visible = false; // // serialPortStopBitsComboBox // this.serialPortStopBitsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialPortStopBitsComboBox.FormattingEnabled = true; this.serialPortStopBitsComboBox.Location = new System.Drawing.Point(160, 138); this.serialPortStopBitsComboBox.Name = "serialPortStopBitsComboBox"; this.serialPortStopBitsComboBox.Size = new System.Drawing.Size(98, 21); this.serialPortStopBitsComboBox.TabIndex = 15; this.serialPortStopBitsComboBox.Visible = false; this.serialPortStopBitsComboBox.SelectedIndexChanged += new System.EventHandler(this.serialPortStopBitsComboBox_SelectedIndexChanged); // // serialPortParityLabel // this.serialPortParityLabel.AutoSize = true; this.serialPortParityLabel.Location = new System.Drawing.Point(74, 122); this.serialPortParityLabel.Name = "serialPortParityLabel"; this.serialPortParityLabel.Size = new System.Drawing.Size(33, 13); this.serialPortParityLabel.TabIndex = 13; this.serialPortParityLabel.Text = "Parity"; this.serialPortParityLabel.Visible = false; // // serialPortParityComboBox // this.serialPortParityComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialPortParityComboBox.FormattingEnabled = true; this.serialPortParityComboBox.Location = new System.Drawing.Point(74, 138); this.serialPortParityComboBox.Name = "serialPortParityComboBox"; this.serialPortParityComboBox.Size = new System.Drawing.Size(80, 21); this.serialPortParityComboBox.TabIndex = 14; this.serialPortParityComboBox.Visible = false; this.serialPortParityComboBox.SelectedIndexChanged += new System.EventHandler(this.serialPortParityComboBox_SelectedIndexChanged); // // serialPortDatabitsLabel // this.serialPortDatabitsLabel.AutoSize = true; this.serialPortDatabitsLabel.Location = new System.Drawing.Point(6, 122); this.serialPortDatabitsLabel.Name = "serialPortDatabitsLabel"; this.serialPortDatabitsLabel.Size = new System.Drawing.Size(46, 13); this.serialPortDatabitsLabel.TabIndex = 11; this.serialPortDatabitsLabel.Text = "Databits"; this.serialPortDatabitsLabel.Visible = false; // // serialPortDatabitsComboBox // this.serialPortDatabitsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialPortDatabitsComboBox.FormattingEnabled = true; this.serialPortDatabitsComboBox.Items.AddRange(new object[] { "7", "8"}); this.serialPortDatabitsComboBox.Location = new System.Drawing.Point(6, 138); this.serialPortDatabitsComboBox.Name = "serialPortDatabitsComboBox"; this.serialPortDatabitsComboBox.Size = new System.Drawing.Size(62, 21); this.serialPortDatabitsComboBox.TabIndex = 13; this.serialPortDatabitsComboBox.Visible = false; this.serialPortDatabitsComboBox.SelectedIndexChanged += new System.EventHandler(this.serialPortDatabitsComboBox_SelectedIndexChanged); // // serialPortSpeedComboBox // this.serialPortSpeedComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialPortSpeedComboBox.FormattingEnabled = true; this.serialPortSpeedComboBox.Items.AddRange(new object[] { "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "230400", "460800", "921600"}); this.serialPortSpeedComboBox.Location = new System.Drawing.Point(280, 98); this.serialPortSpeedComboBox.Name = "serialPortSpeedComboBox"; this.serialPortSpeedComboBox.Size = new System.Drawing.Size(84, 21); this.serialPortSpeedComboBox.TabIndex = 12; this.serialPortSpeedComboBox.Visible = false; this.serialPortSpeedComboBox.SelectedIndexChanged += new System.EventHandler(this.serialPortSpeedComboBox_SelectedIndexChanged); // // serialPortSpeedLabel // this.serialPortSpeedLabel.AutoSize = true; this.serialPortSpeedLabel.Location = new System.Drawing.Point(280, 82); this.serialPortSpeedLabel.Name = "serialPortSpeedLabel"; this.serialPortSpeedLabel.Size = new System.Drawing.Size(60, 13); this.serialPortSpeedLabel.TabIndex = 8; this.serialPortSpeedLabel.Text = "Port Speed"; this.serialPortSpeedLabel.Visible = false; // // serialPortLabel // this.serialPortLabel.AutoSize = true; this.serialPortLabel.Location = new System.Drawing.Point(6, 82); this.serialPortLabel.Name = "serialPortLabel"; this.serialPortLabel.Size = new System.Drawing.Size(26, 13); this.serialPortLabel.TabIndex = 7; this.serialPortLabel.Text = "Port"; this.serialPortLabel.Visible = false; // // serialPortNameComboBox // this.serialPortNameComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialPortNameComboBox.DropDownWidth = 400; this.serialPortNameComboBox.FormattingEnabled = true; this.serialPortNameComboBox.Location = new System.Drawing.Point(6, 98); this.serialPortNameComboBox.Name = "serialPortNameComboBox"; this.serialPortNameComboBox.Size = new System.Drawing.Size(268, 21); this.serialPortNameComboBox.TabIndex = 11; this.serialPortNameComboBox.Visible = false; this.serialPortNameComboBox.SelectedIndexChanged += new System.EventHandler(this.serialPortNameComboBox_SelectedIndexChanged); // // openBT // this.openBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.openBT.Enabled = false; this.openBT.Image = global::UserInterface.Properties.Resources.connect_add; this.openBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.openBT.Location = new System.Drawing.Point(554, 46); this.openBT.Name = "openBT"; this.openBT.Size = new System.Drawing.Size(126, 23); this.openBT.TabIndex = 18; this.openBT.Text = "Open"; this.openBT.UseVisualStyleBackColor = true; this.openBT.Click += new System.EventHandler(this.openBT_Click); // // closeBT // this.closeBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.closeBT.Enabled = false; this.closeBT.Image = global::UserInterface.Properties.Resources.connect_delete; this.closeBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.closeBT.Location = new System.Drawing.Point(554, 75); this.closeBT.Name = "closeBT"; this.closeBT.Size = new System.Drawing.Size(126, 23); this.closeBT.TabIndex = 19; this.closeBT.Text = "Close"; this.closeBT.UseVisualStyleBackColor = true; this.closeBT.Click += new System.EventHandler(this.closeBT_Click); // // protocolSelectPanel1 // this.protocolSelectPanel1.Location = new System.Drawing.Point(242, 166); this.protocolSelectPanel1.Name = "protocolSelectPanel1"; this.protocolSelectPanel1.Size = new System.Drawing.Size(438, 239); this.protocolSelectPanel1.TabIndex = 44; // // InterfacePanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox1); this.Name = "InterfacePanel"; this.Size = new System.Drawing.Size(686, 504); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Label serialPortStopbitsLabel; private System.Windows.Forms.ComboBox serialPortStopBitsComboBox; private System.Windows.Forms.Label serialPortParityLabel; private System.Windows.Forms.ComboBox serialPortParityComboBox; private System.Windows.Forms.Label serialPortDatabitsLabel; private System.Windows.Forms.ComboBox serialPortDatabitsComboBox; private System.Windows.Forms.ComboBox serialPortSpeedComboBox; private System.Windows.Forms.Label serialPortSpeedLabel; private System.Windows.Forms.Label serialPortLabel; private System.Windows.Forms.ComboBox serialPortNameComboBox; private System.Windows.Forms.Button openBT; private System.Windows.Forms.Button closeBT; private System.Windows.Forms.TextBox interfaceDescription; private System.Windows.Forms.Button readVersionBT; private System.Windows.Forms.Button lastErrorBT; private System.Windows.Forms.Label label1; private System.Windows.Forms.ComboBox vehicleCB; private System.Windows.Forms.Button defaultValuesButton; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button quickOpenBT; private System.Windows.Forms.ToolTip toolTip1; private ProtocolSelectPanel protocolSelectPanel1; } }