//----------------------------------------------------------------------- // // 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 ProtocolSelectPanel { /// /// 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(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.extendedScanCB = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.acceptedSrcAddrTB = new System.Windows.Forms.TextBox(); this.detectButton = new System.Windows.Forms.Button(); this.protocolsDgv = new System.Windows.Forms.DataGridView(); this.col_protocol = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_status = new System.Windows.Forms.DataGridViewImageColumn(); this.col_item = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.allProtocolsCB = new System.Windows.Forms.CheckBox(); this.newConnectionBT = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.protocolsDgv)).BeginInit(); this.SuspendLayout(); // // groupBox2 // this.groupBox2.Controls.Add(this.extendedScanCB); this.groupBox2.Controls.Add(this.label1); this.groupBox2.Controls.Add(this.acceptedSrcAddrTB); this.groupBox2.Controls.Add(this.detectButton); this.groupBox2.Controls.Add(this.protocolsDgv); this.groupBox2.Controls.Add(this.allProtocolsCB); this.groupBox2.Controls.Add(this.newConnectionBT); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(438, 239); this.groupBox2.TabIndex = 29; this.groupBox2.TabStop = false; this.groupBox2.Text = "Connection"; // // extendedScanCB // this.extendedScanCB.AutoSize = true; this.extendedScanCB.Enabled = false; this.extendedScanCB.Location = new System.Drawing.Point(295, 48); this.extendedScanCB.Name = "extendedScanCB"; this.extendedScanCB.Size = new System.Drawing.Size(99, 17); this.extendedScanCB.TabIndex = 27; this.extendedScanCB.Text = "Extended Scan"; this.extendedScanCB.UseVisualStyleBackColor = true; this.extendedScanCB.CheckedChanged += new System.EventHandler(this.extendedScanCB_CheckedChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(292, 149); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(131, 13); this.label1.TabIndex = 26; this.label1.Text = "Accepted Source Address"; // // acceptedSrcAddrTB // this.acceptedSrcAddrTB.Location = new System.Drawing.Point(295, 165); this.acceptedSrcAddrTB.Name = "acceptedSrcAddrTB"; this.acceptedSrcAddrTB.ReadOnly = true; this.acceptedSrcAddrTB.Size = new System.Drawing.Size(137, 20); this.acceptedSrcAddrTB.TabIndex = 25; // // detectButton // this.detectButton.Enabled = false; this.detectButton.Image = global::UserInterface.Properties.Resources.cog_go; this.detectButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.detectButton.Location = new System.Drawing.Point(295, 19); this.detectButton.Name = "detectButton"; this.detectButton.Size = new System.Drawing.Size(137, 23); this.detectButton.TabIndex = 24; this.detectButton.Text = "Detect"; this.detectButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.detectButton.UseVisualStyleBackColor = true; this.detectButton.Click += new System.EventHandler(this.detectButton_Click); // // protocolsDgv // this.protocolsDgv.AllowUserToAddRows = false; this.protocolsDgv.AllowUserToDeleteRows = false; this.protocolsDgv.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.protocolsDgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.protocolsDgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.col_protocol, this.col_status, this.col_item}); this.protocolsDgv.Location = new System.Drawing.Point(6, 19); this.protocolsDgv.Name = "protocolsDgv"; this.protocolsDgv.ReadOnly = true; this.protocolsDgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.protocolsDgv.Size = new System.Drawing.Size(280, 214); this.protocolsDgv.TabIndex = 23; this.protocolsDgv.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.protocolsDgv_RowEnter); // // col_protocol // this.col_protocol.HeaderText = "Protocol"; this.col_protocol.Name = "col_protocol"; this.col_protocol.ReadOnly = true; this.col_protocol.Width = 175; // // col_status // this.col_status.HeaderText = "Status"; this.col_status.MinimumWidth = 25; this.col_status.Name = "col_status"; this.col_status.ReadOnly = true; this.col_status.Width = 45; // // col_item // this.col_item.HeaderText = "Item"; this.col_item.Name = "col_item"; this.col_item.ReadOnly = true; this.col_item.Visible = false; // // allProtocolsCB // this.allProtocolsCB.AutoSize = true; this.allProtocolsCB.Enabled = false; this.allProtocolsCB.Location = new System.Drawing.Point(295, 91); this.allProtocolsCB.Name = "allProtocolsCB"; this.allProtocolsCB.Size = new System.Drawing.Size(84, 17); this.allProtocolsCB.TabIndex = 22; this.allProtocolsCB.Text = "All Protocols"; this.allProtocolsCB.UseVisualStyleBackColor = true; this.allProtocolsCB.CheckedChanged += new System.EventHandler(this.allProtocolsCB_CheckedChanged); // // newConnectionBT // this.newConnectionBT.Enabled = false; this.newConnectionBT.Image = global::UserInterface.Properties.Resources.cog_add; this.newConnectionBT.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.newConnectionBT.Location = new System.Drawing.Point(295, 114); this.newConnectionBT.Name = "newConnectionBT"; this.newConnectionBT.Size = new System.Drawing.Size(137, 23); this.newConnectionBT.TabIndex = 21; this.newConnectionBT.Text = "Add New Connection"; this.newConnectionBT.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.newConnectionBT.UseVisualStyleBackColor = true; this.newConnectionBT.Click += new System.EventHandler(this.newConnectionBT_Click); // // ProtocolSelectPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.groupBox2); this.Name = "ProtocolSelectPanel"; this.Size = new System.Drawing.Size(438, 239); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.protocolsDgv)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.CheckBox allProtocolsCB; private System.Windows.Forms.Button newConnectionBT; private System.Windows.Forms.Button detectButton; private System.Windows.Forms.DataGridView protocolsDgv; private System.Windows.Forms.DataGridViewTextBoxColumn col_protocol; private System.Windows.Forms.DataGridViewImageColumn col_status; private System.Windows.Forms.DataGridViewTextBoxColumn col_item; private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox acceptedSrcAddrTB; private System.Windows.Forms.CheckBox extendedScanCB; private System.Windows.Forms.ToolTip toolTip1; } }