//----------------------------------------------------------------------- // // 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 MyMessageBox { /// /// 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(MyMessageBox)); this.label1 = new System.Windows.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.noButton = new System.Windows.Forms.Button(); this.yesButton = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.extraHeading = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(75, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(76, 19); this.label1.TabIndex = 1; this.label1.Text = "Warning!"; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(12, 12); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(57, 50); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // noButton // this.noButton.Location = new System.Drawing.Point(276, 295); this.noButton.Name = "noButton"; this.noButton.Size = new System.Drawing.Size(75, 23); this.noButton.TabIndex = 1; this.noButton.Text = "No"; this.noButton.UseVisualStyleBackColor = true; this.noButton.Click += new System.EventHandler(this.noButton_Click); // // yesButton // this.yesButton.Location = new System.Drawing.Point(195, 295); this.yesButton.Name = "yesButton"; this.yesButton.Size = new System.Drawing.Size(75, 23); this.yesButton.TabIndex = 3; this.yesButton.Text = "Yes"; this.yesButton.UseVisualStyleBackColor = true; this.yesButton.Click += new System.EventHandler(this.yesButton_Click); // // textBox1 // this.textBox1.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.textBox1.Location = new System.Drawing.Point(12, 68); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.textBox1.Size = new System.Drawing.Size(518, 213); this.textBox1.TabIndex = 2; // // extraHeading // this.extraHeading.AutoSize = true; this.extraHeading.Location = new System.Drawing.Point(76, 31); this.extraHeading.Name = "extraHeading"; this.extraHeading.Size = new System.Drawing.Size(91, 13); this.extraHeading.TabIndex = 5; this.extraHeading.Text = "Risk for problems."; // // MyMessageBox // this.AcceptButton = this.yesButton; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(542, 330); this.Controls.Add(this.extraHeading); this.Controls.Add(this.textBox1); this.Controls.Add(this.yesButton); this.Controls.Add(this.noButton); this.Controls.Add(this.label1); this.Controls.Add(this.pictureBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MyMessageBox"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "MyMessageBox"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button noButton; private System.Windows.Forms.Button yesButton; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Label extraHeading; } }