//----------------------------------------------------------------------- // // 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 EcuDataPanel { /// /// 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.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.ecuDescriptionTB = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.getButton = new System.Windows.Forms.Button(); this.clearAndGetButton = new System.Windows.Forms.Button(); this.saveButton = new System.Windows.Forms.Button(); this.printButton = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.SuspendLayout(); // // flowLayoutPanel1 // this.flowLayoutPanel1.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.flowLayoutPanel1.AutoScroll = true; this.flowLayoutPanel1.BackColor = System.Drawing.SystemColors.Control; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 32); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(670, 370); this.flowLayoutPanel1.TabIndex = 0; // // ecuDescriptionTB // this.ecuDescriptionTB.Location = new System.Drawing.Point(38, 5); this.ecuDescriptionTB.Name = "ecuDescriptionTB"; this.ecuDescriptionTB.ReadOnly = true; this.ecuDescriptionTB.Size = new System.Drawing.Size(205, 20); this.ecuDescriptionTB.TabIndex = 1; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 13); this.label1.TabIndex = 2; this.label1.Text = "ECU"; // // getButton // this.getButton.Image = global::UserInterface.Properties.Resources.arrow_down; this.getButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.getButton.Location = new System.Drawing.Point(461, 3); this.getButton.Name = "getButton"; this.getButton.Size = new System.Drawing.Size(100, 23); this.getButton.TabIndex = 3; this.getButton.Text = "Get"; this.getButton.UseVisualStyleBackColor = true; this.getButton.Click += new System.EventHandler(this.getButton_Click); // // clearAndGetButton // this.clearAndGetButton.Image = global::UserInterface.Properties.Resources.arrow_refresh; this.clearAndGetButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.clearAndGetButton.Location = new System.Drawing.Point(567, 3); this.clearAndGetButton.Name = "clearAndGetButton"; this.clearAndGetButton.Size = new System.Drawing.Size(100, 23); this.clearAndGetButton.TabIndex = 4; this.clearAndGetButton.Text = "Clear && Get"; this.clearAndGetButton.UseVisualStyleBackColor = true; this.clearAndGetButton.Click += new System.EventHandler(this.clearAndGetButton_Click); // // saveButton // this.saveButton.Image = global::UserInterface.Properties.Resources.disk; this.saveButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.saveButton.Location = new System.Drawing.Point(249, 3); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(100, 23); this.saveButton.TabIndex = 5; this.saveButton.Text = "Save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // printButton // this.printButton.Image = global::UserInterface.Properties.Resources.printer; this.printButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.printButton.Location = new System.Drawing.Point(355, 3); this.printButton.Name = "printButton"; this.printButton.Size = new System.Drawing.Size(100, 23); this.printButton.TabIndex = 6; this.printButton.Text = "Print"; this.printButton.UseVisualStyleBackColor = true; this.printButton.Click += new System.EventHandler(this.printButton_Click); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // EcuDataPanel // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.printButton); this.Controls.Add(this.saveButton); this.Controls.Add(this.clearAndGetButton); this.Controls.Add(this.getButton); this.Controls.Add(this.label1); this.Controls.Add(this.ecuDescriptionTB); this.Controls.Add(this.flowLayoutPanel1); this.Name = "EcuDataPanel"; this.Size = new System.Drawing.Size(670, 402); this.SizeChanged += new System.EventHandler(this.EcuDataPanel_SizeChanged); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; private System.Windows.Forms.TextBox ecuDescriptionTB; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button getButton; private System.Windows.Forms.Button clearAndGetButton; private System.Windows.Forms.Button saveButton; private System.Windows.Forms.Button printButton; private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.PrintDialog printDialog1; private System.Drawing.Printing.PrintDocument printDocument1; } }