//-----------------------------------------------------------------------
//
// 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 CanApp.CAN
{
[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.")]
public partial class DataListForm
{
///
/// 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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataListForm));
this.tracedata = new System.Windows.Forms.DataGridView();
this.textBox1 = new System.Windows.Forms.TextBox();
this.addTxtBT = new System.Windows.Forms.Button();
this.stopBT = new System.Windows.Forms.Button();
this.testCB = new System.Windows.Forms.CheckBox();
this.startBT = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.timeoutUD = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.appendLoggingCB = new System.Windows.Forms.CheckBox();
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ts = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.msgID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.extraDataIndex = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.data = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.tracedata)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.timeoutUD)).BeginInit();
this.SuspendLayout();
//
// tracedata
//
this.tracedata.AllowUserToAddRows = false;
this.tracedata.AllowUserToDeleteRows = false;
this.tracedata.AllowUserToOrderColumns = true;
this.tracedata.AllowUserToResizeRows = false;
this.tracedata.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.tracedata.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.tracedata.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.count,
this.ts,
this.msgID,
this.dataSize,
this.extraDataIndex,
this.data});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.tracedata.DefaultCellStyle = dataGridViewCellStyle1;
this.tracedata.Location = new System.Drawing.Point(12, 38);
this.tracedata.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
this.tracedata.Name = "tracedata";
dataGridViewCellStyle2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.Yellow;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
this.tracedata.RowsDefaultCellStyle = dataGridViewCellStyle2;
this.tracedata.RowTemplate.Height = 12;
this.tracedata.ShowEditingIcon = false;
this.tracedata.Size = new System.Drawing.Size(950, 561);
this.tracedata.TabIndex = 0;
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.textBox1.Location = new System.Drawing.Point(12, 604);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(527, 20);
this.textBox1.TabIndex = 1;
//
// addTxtBT
//
this.addTxtBT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.addTxtBT.Location = new System.Drawing.Point(545, 602);
this.addTxtBT.Name = "addTxtBT";
this.addTxtBT.Size = new System.Drawing.Size(75, 23);
this.addTxtBT.TabIndex = 2;
this.addTxtBT.Text = "Add";
this.addTxtBT.UseVisualStyleBackColor = true;
this.addTxtBT.Click += new System.EventHandler(this.addTxtBT_Click);
//
// stopBT
//
this.stopBT.Enabled = false;
this.stopBT.Location = new System.Drawing.Point(116, 12);
this.stopBT.Name = "stopBT";
this.stopBT.Size = new System.Drawing.Size(98, 23);
this.stopBT.TabIndex = 4;
this.stopBT.Text = "Stop";
this.stopBT.UseVisualStyleBackColor = true;
this.stopBT.Click += new System.EventHandler(this.stopBT_Click);
//
// testCB
//
this.testCB.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.testCB.AutoSize = true;
this.testCB.Location = new System.Drawing.Point(915, 18);
this.testCB.Name = "testCB";
this.testCB.Size = new System.Drawing.Size(47, 17);
this.testCB.TabIndex = 9;
this.testCB.Text = "Test";
this.testCB.UseVisualStyleBackColor = true;
this.testCB.CheckedChanged += new System.EventHandler(this.testCB_CheckedChanged);
//
// startBT
//
this.startBT.Location = new System.Drawing.Point(12, 12);
this.startBT.Name = "startBT";
this.startBT.Size = new System.Drawing.Size(98, 23);
this.startBT.TabIndex = 3;
this.startBT.Text = "Start";
this.startBT.UseVisualStyleBackColor = true;
this.startBT.Click += new System.EventHandler(this.startBT_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(330, 19);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(67, 13);
this.label1.TabIndex = 11;
this.label1.Text = "Timeout (ms)";
//
// timeoutUD
//
this.timeoutUD.Increment = new decimal(new int[] {
500,
0,
0,
0});
this.timeoutUD.Location = new System.Drawing.Point(403, 15);
this.timeoutUD.Maximum = new decimal(new int[] {
30000,
0,
0,
0});
this.timeoutUD.Minimum = new decimal(new int[] {
500,
0,
0,
0});
this.timeoutUD.Name = "timeoutUD";
this.timeoutUD.Size = new System.Drawing.Size(75, 20);
this.timeoutUD.TabIndex = 10;
this.timeoutUD.Value = new decimal(new int[] {
1000,
0,
0,
0});
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(626, 607);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(251, 13);
this.label2.TabIndex = 12;
this.label2.Text = "Adds text line to log file to allow you to track events.";
//
// appendLoggingCB
//
this.appendLoggingCB.AutoSize = true;
this.appendLoggingCB.Location = new System.Drawing.Point(220, 16);
this.appendLoggingCB.Name = "appendLoggingCB";
this.appendLoggingCB.Size = new System.Drawing.Size(104, 17);
this.appendLoggingCB.TabIndex = 13;
this.appendLoggingCB.Text = "Append Logging";
this.appendLoggingCB.UseVisualStyleBackColor = true;
this.appendLoggingCB.CheckedChanged += new System.EventHandler(this.appendLoggingCB_CheckedChanged);
//
// count
//
this.count.FillWeight = 10F;
this.count.HeaderText = "#";
this.count.MaxInputLength = 10;
this.count.MinimumWidth = 100;
this.count.Name = "count";
this.count.ReadOnly = true;
//
// ts
//
this.ts.HeaderText = "Timestamp";
this.ts.MinimumWidth = 100;
this.ts.Name = "ts";
this.ts.ReadOnly = true;
//
// msgID
//
this.msgID.FillWeight = 10F;
this.msgID.HeaderText = "MsgID";
this.msgID.MaxInputLength = 8;
this.msgID.MinimumWidth = 100;
this.msgID.Name = "msgID";
this.msgID.ReadOnly = true;
//
// dataSize
//
this.dataSize.HeaderText = "DS";
this.dataSize.Name = "dataSize";
this.dataSize.Width = 40;
//
// extraDataIndex
//
this.extraDataIndex.HeaderText = "EDI";
this.extraDataIndex.Name = "extraDataIndex";
this.extraDataIndex.Width = 40;
//
// data
//
this.data.HeaderText = "Data";
this.data.MinimumWidth = 200;
this.data.Name = "data";
this.data.ReadOnly = true;
this.data.Width = 200;
//
// DataListForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(974, 636);
this.Controls.Add(this.appendLoggingCB);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.timeoutUD);
this.Controls.Add(this.stopBT);
this.Controls.Add(this.testCB);
this.Controls.Add(this.addTxtBT);
this.Controls.Add(this.startBT);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.tracedata);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DataListForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "CAN Data Logging";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DataListForm_FormClosing);
((System.ComponentModel.ISupportInitialize)(this.tracedata)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.timeoutUD)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridView tracedata;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button addTxtBT;
private System.Windows.Forms.Button stopBT;
private System.Windows.Forms.CheckBox testCB;
private System.Windows.Forms.Button startBT;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown timeoutUD;
private System.Windows.Forms.CheckBox appendLoggingCB;
private System.Windows.Forms.DataGridViewTextBoxColumn count;
private System.Windows.Forms.DataGridViewTextBoxColumn ts;
private System.Windows.Forms.DataGridViewTextBoxColumn msgID;
private System.Windows.Forms.DataGridViewTextBoxColumn dataSize;
private System.Windows.Forms.DataGridViewTextBoxColumn extraDataIndex;
private System.Windows.Forms.DataGridViewTextBoxColumn data;
}
}