297 lines
14 KiB
C#
297 lines
14 KiB
C#
|
namespace Tidstagning
|
|||
|
{
|
|||
|
partial class Form1
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.components = new System.ComponentModel.Container();
|
|||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|||
|
this.grid = new System.Windows.Forms.DataGridView();
|
|||
|
this.Complete = new System.Windows.Forms.DataGridViewButtonColumn();
|
|||
|
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.DNF = new System.Windows.Forms.DataGridViewButtonColumn();
|
|||
|
this.entryBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.btnMoveUp = new System.Windows.Forms.Button();
|
|||
|
this.btnMoveDown = new System.Windows.Forms.Button();
|
|||
|
this.txtHeader = new System.Windows.Forms.TextBox();
|
|||
|
this.btnAutoStart = new System.Windows.Forms.Button();
|
|||
|
this.btnStop = new System.Windows.Forms.Button();
|
|||
|
this.countdowntimer = new System.Windows.Forms.Timer(this.components);
|
|||
|
this.txtLog = new System.Windows.Forms.TableLayoutPanel();
|
|||
|
this.panel1 = new System.Windows.Forms.Panel();
|
|||
|
this.panel2 = new System.Windows.Forms.Panel();
|
|||
|
this.txtDebug = new System.Windows.Forms.TextBox();
|
|||
|
this.comboComport = new System.Windows.Forms.ComboBox();
|
|||
|
this.comboSoundTime = new System.Windows.Forms.ComboBox();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.entryBindingSource)).BeginInit();
|
|||
|
this.txtLog.SuspendLayout();
|
|||
|
this.panel1.SuspendLayout();
|
|||
|
this.panel2.SuspendLayout();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// grid
|
|||
|
//
|
|||
|
this.grid.AllowUserToAddRows = false;
|
|||
|
this.grid.AllowUserToDeleteRows = false;
|
|||
|
this.grid.AutoGenerateColumns = false;
|
|||
|
this.grid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|||
|
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
this.Complete,
|
|||
|
this.nameDataGridViewTextBoxColumn,
|
|||
|
this.DNF});
|
|||
|
this.grid.DataSource = this.entryBindingSource;
|
|||
|
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.grid.Location = new System.Drawing.Point(203, 41);
|
|||
|
this.grid.Name = "grid";
|
|||
|
this.grid.ReadOnly = true;
|
|||
|
this.grid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
|
|||
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|||
|
this.grid.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
|||
|
this.grid.RowTemplate.Height = 35;
|
|||
|
this.grid.Size = new System.Drawing.Size(698, 264);
|
|||
|
this.grid.TabIndex = 0;
|
|||
|
this.grid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_Click);
|
|||
|
this.grid.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellMouseEnter);
|
|||
|
this.grid.CellMouseLeave += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellMouseLeave);
|
|||
|
//
|
|||
|
// Complete
|
|||
|
//
|
|||
|
this.Complete.HeaderText = "Fuldført";
|
|||
|
this.Complete.Name = "Complete";
|
|||
|
this.Complete.ReadOnly = true;
|
|||
|
this.Complete.Text = "Mål";
|
|||
|
this.Complete.UseColumnTextForButtonValue = true;
|
|||
|
//
|
|||
|
// nameDataGridViewTextBoxColumn
|
|||
|
//
|
|||
|
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
|
|||
|
this.nameDataGridViewTextBoxColumn.HeaderText = "Båd";
|
|||
|
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
|||
|
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
|
|||
|
//
|
|||
|
// DNF
|
|||
|
//
|
|||
|
this.DNF.HeaderText = "DNF";
|
|||
|
this.DNF.Name = "DNF";
|
|||
|
this.DNF.ReadOnly = true;
|
|||
|
this.DNF.Text = "Udgået";
|
|||
|
this.DNF.UseColumnTextForButtonValue = true;
|
|||
|
//
|
|||
|
// entryBindingSource
|
|||
|
//
|
|||
|
this.entryBindingSource.DataSource = typeof(Tidstagning.Entry);
|
|||
|
//
|
|||
|
// btnMoveUp
|
|||
|
//
|
|||
|
this.btnMoveUp.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.btnMoveUp.Name = "btnMoveUp";
|
|||
|
this.btnMoveUp.Size = new System.Drawing.Size(101, 23);
|
|||
|
this.btnMoveUp.TabIndex = 1;
|
|||
|
this.btnMoveUp.Text = "Op";
|
|||
|
this.btnMoveUp.UseVisualStyleBackColor = true;
|
|||
|
this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
|
|||
|
//
|
|||
|
// btnMoveDown
|
|||
|
//
|
|||
|
this.btnMoveDown.Location = new System.Drawing.Point(0, 29);
|
|||
|
this.btnMoveDown.Name = "btnMoveDown";
|
|||
|
this.btnMoveDown.Size = new System.Drawing.Size(101, 23);
|
|||
|
this.btnMoveDown.TabIndex = 2;
|
|||
|
this.btnMoveDown.Text = "Ned";
|
|||
|
this.btnMoveDown.UseVisualStyleBackColor = true;
|
|||
|
this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
|
|||
|
//
|
|||
|
// txtHeader
|
|||
|
//
|
|||
|
this.txtHeader.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.txtHeader.Location = new System.Drawing.Point(203, 3);
|
|||
|
this.txtHeader.Name = "txtHeader";
|
|||
|
this.txtHeader.Size = new System.Drawing.Size(698, 20);
|
|||
|
this.txtHeader.TabIndex = 3;
|
|||
|
//
|
|||
|
// btnAutoStart
|
|||
|
//
|
|||
|
this.btnAutoStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|||
|
this.btnAutoStart.Location = new System.Drawing.Point(0, 7);
|
|||
|
this.btnAutoStart.Name = "btnAutoStart";
|
|||
|
this.btnAutoStart.Size = new System.Drawing.Size(185, 37);
|
|||
|
this.btnAutoStart.TabIndex = 4;
|
|||
|
this.btnAutoStart.Text = "Start";
|
|||
|
this.btnAutoStart.UseVisualStyleBackColor = true;
|
|||
|
this.btnAutoStart.Click += new System.EventHandler(this.btnAutoStart_Click);
|
|||
|
//
|
|||
|
// btnStop
|
|||
|
//
|
|||
|
this.btnStop.Enabled = false;
|
|||
|
this.btnStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|||
|
this.btnStop.Location = new System.Drawing.Point(3, 50);
|
|||
|
this.btnStop.Name = "btnStop";
|
|||
|
this.btnStop.Size = new System.Drawing.Size(182, 40);
|
|||
|
this.btnStop.TabIndex = 6;
|
|||
|
this.btnStop.Text = "Stop";
|
|||
|
this.btnStop.UseVisualStyleBackColor = true;
|
|||
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
|||
|
//
|
|||
|
// countdowntimer
|
|||
|
//
|
|||
|
this.countdowntimer.Interval = 1000;
|
|||
|
this.countdowntimer.Tick += new System.EventHandler(this.timer_Tick);
|
|||
|
//
|
|||
|
// txtLog
|
|||
|
//
|
|||
|
this.txtLog.ColumnCount = 3;
|
|||
|
this.txtLog.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
|
|||
|
this.txtLog.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|||
|
this.txtLog.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
|
|||
|
this.txtLog.Controls.Add(this.grid, 1, 1);
|
|||
|
this.txtLog.Controls.Add(this.txtHeader, 1, 0);
|
|||
|
this.txtLog.Controls.Add(this.panel1, 2, 1);
|
|||
|
this.txtLog.Controls.Add(this.panel2, 0, 1);
|
|||
|
this.txtLog.Controls.Add(this.txtDebug, 1, 2);
|
|||
|
this.txtLog.Controls.Add(this.comboComport, 0, 2);
|
|||
|
this.txtLog.Controls.Add(this.comboSoundTime, 2, 2);
|
|||
|
this.txtLog.Controls.Add(this.label1, 0, 0);
|
|||
|
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.txtLog.Location = new System.Drawing.Point(0, 0);
|
|||
|
this.txtLog.Name = "txtLog";
|
|||
|
this.txtLog.RowCount = 3;
|
|||
|
this.txtLog.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
|||
|
this.txtLog.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
|
|||
|
this.txtLog.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|||
|
this.txtLog.Size = new System.Drawing.Size(1104, 387);
|
|||
|
this.txtLog.TabIndex = 8;
|
|||
|
//
|
|||
|
// panel1
|
|||
|
//
|
|||
|
this.panel1.Controls.Add(this.btnAutoStart);
|
|||
|
this.panel1.Controls.Add(this.btnStop);
|
|||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.panel1.Location = new System.Drawing.Point(907, 41);
|
|||
|
this.panel1.Name = "panel1";
|
|||
|
this.panel1.Size = new System.Drawing.Size(194, 264);
|
|||
|
this.panel1.TabIndex = 8;
|
|||
|
//
|
|||
|
// panel2
|
|||
|
//
|
|||
|
this.panel2.Controls.Add(this.btnMoveUp);
|
|||
|
this.panel2.Controls.Add(this.btnMoveDown);
|
|||
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.panel2.Location = new System.Drawing.Point(3, 41);
|
|||
|
this.panel2.Name = "panel2";
|
|||
|
this.panel2.Size = new System.Drawing.Size(194, 264);
|
|||
|
this.panel2.TabIndex = 9;
|
|||
|
//
|
|||
|
// txtDebug
|
|||
|
//
|
|||
|
this.txtDebug.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
this.txtDebug.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
|
|||
|
this.txtDebug.Location = new System.Drawing.Point(203, 311);
|
|||
|
this.txtDebug.Multiline = true;
|
|||
|
this.txtDebug.Name = "txtDebug";
|
|||
|
this.txtDebug.Size = new System.Drawing.Size(698, 73);
|
|||
|
this.txtDebug.TabIndex = 10;
|
|||
|
//
|
|||
|
// comboComport
|
|||
|
//
|
|||
|
this.comboComport.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.comboComport.FormattingEnabled = true;
|
|||
|
this.comboComport.Location = new System.Drawing.Point(3, 311);
|
|||
|
this.comboComport.Name = "comboComport";
|
|||
|
this.comboComport.Size = new System.Drawing.Size(121, 21);
|
|||
|
this.comboComport.TabIndex = 12;
|
|||
|
//
|
|||
|
// comboSoundTime
|
|||
|
//
|
|||
|
this.comboSoundTime.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.comboSoundTime.FormattingEnabled = true;
|
|||
|
this.comboSoundTime.Items.AddRange(new object[] {
|
|||
|
"100",
|
|||
|
"250",
|
|||
|
"500",
|
|||
|
"1000"});
|
|||
|
this.comboSoundTime.Location = new System.Drawing.Point(907, 311);
|
|||
|
this.comboSoundTime.Name = "comboSoundTime";
|
|||
|
this.comboSoundTime.Size = new System.Drawing.Size(121, 21);
|
|||
|
this.comboSoundTime.TabIndex = 13;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
|
|||
|
this.label1.Location = new System.Drawing.Point(3, 0);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(127, 24);
|
|||
|
this.label1.TabIndex = 14;
|
|||
|
this.label1.Text = "Løbs nummer";
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(1104, 387);
|
|||
|
this.Controls.Add(this.txtLog);
|
|||
|
this.Name = "Form1";
|
|||
|
this.Text = "Form1";
|
|||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.entryBindingSource)).EndInit();
|
|||
|
this.txtLog.ResumeLayout(false);
|
|||
|
this.txtLog.PerformLayout();
|
|||
|
this.panel1.ResumeLayout(false);
|
|||
|
this.panel2.ResumeLayout(false);
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.DataGridView grid;
|
|||
|
private System.Windows.Forms.BindingSource entryBindingSource;
|
|||
|
private System.Windows.Forms.Button btnMoveUp;
|
|||
|
private System.Windows.Forms.Button btnMoveDown;
|
|||
|
private System.Windows.Forms.TextBox txtHeader;
|
|||
|
private System.Windows.Forms.Button btnAutoStart;
|
|||
|
private System.Windows.Forms.Button btnStop;
|
|||
|
private System.Windows.Forms.Timer countdowntimer;
|
|||
|
private System.Windows.Forms.TableLayoutPanel txtLog;
|
|||
|
private System.Windows.Forms.Panel panel1;
|
|||
|
private System.Windows.Forms.Panel panel2;
|
|||
|
private System.Windows.Forms.TextBox txtDebug;
|
|||
|
private System.Windows.Forms.ComboBox comboComport;
|
|||
|
private System.Windows.Forms.DataGridViewButtonColumn Complete;
|
|||
|
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
|||
|
private System.Windows.Forms.DataGridViewButtonColumn DNF;
|
|||
|
private System.Windows.Forms.ComboBox comboSoundTime;
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
|