401 lines
20 KiB
C#
401 lines
20 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();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.countdowntimer = new System.Windows.Forms.Timer(this.components);
|
|
this.btnTest = new System.Windows.Forms.Button();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.comboComport = new System.Windows.Forms.ComboBox();
|
|
this.txtDebug = new System.Windows.Forms.TextBox();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.btnEditList = new System.Windows.Forms.Button();
|
|
this.btnMoveUp = new System.Windows.Forms.Button();
|
|
this.btnMoveDown = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.checkStartProcedure = new System.Windows.Forms.CheckBox();
|
|
this.lblClock = new System.Windows.Forms.Label();
|
|
this.btnAutoStart = new System.Windows.Forms.Button();
|
|
this.btnStop = new System.Windows.Forms.Button();
|
|
this.txtHeader = new System.Windows.Forms.TextBox();
|
|
this.grid = new System.Windows.Forms.DataGridView();
|
|
this.Complete = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.DNF = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.txtLog = new System.Windows.Forms.TableLayoutPanel();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.comboSoundTime = new System.Windows.Forms.ComboBox();
|
|
this.Clock = new System.Windows.Forms.Timer(this.components);
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.entryBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.panel2.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
|
|
this.txtLog.SuspendLayout();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.entryBindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// countdowntimer
|
|
//
|
|
this.countdowntimer.Interval = 1000;
|
|
this.countdowntimer.Tick += new System.EventHandler(this.timer_Tick);
|
|
//
|
|
// btnTest
|
|
//
|
|
this.btnTest.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.btnTest.Location = new System.Drawing.Point(3, 3);
|
|
this.btnTest.Name = "btnTest";
|
|
this.btnTest.Size = new System.Drawing.Size(185, 37);
|
|
this.btnTest.TabIndex = 3;
|
|
this.btnTest.Text = "Test horn";
|
|
this.btnTest.UseVisualStyleBackColor = true;
|
|
this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(907, 3);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 14;
|
|
this.button1.Text = "Hjælp mm.";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// comboComport
|
|
//
|
|
this.comboComport.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboComport.FormattingEnabled = true;
|
|
this.comboComport.Location = new System.Drawing.Point(907, 311);
|
|
this.comboComport.Name = "comboComport";
|
|
this.comboComport.Size = new System.Drawing.Size(121, 21);
|
|
this.comboComport.TabIndex = 12;
|
|
//
|
|
// 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.ReadOnly = true;
|
|
this.txtDebug.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtDebug.Size = new System.Drawing.Size(698, 73);
|
|
this.txtDebug.TabIndex = 10;
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Controls.Add(this.btnEditList);
|
|
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;
|
|
//
|
|
// btnEditList
|
|
//
|
|
this.btnEditList.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.btnEditList.Location = new System.Drawing.Point(0, 3);
|
|
this.btnEditList.Name = "btnEditList";
|
|
this.btnEditList.Size = new System.Drawing.Size(185, 37);
|
|
this.btnEditList.TabIndex = 3;
|
|
this.btnEditList.Text = "Rediger ";
|
|
this.btnEditList.UseVisualStyleBackColor = true;
|
|
this.btnEditList.Click += new System.EventHandler(this.btnEditList_Click);
|
|
//
|
|
// btnMoveUp
|
|
//
|
|
this.btnMoveUp.Enabled = false;
|
|
this.btnMoveUp.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.btnMoveUp.Location = new System.Drawing.Point(0, 46);
|
|
this.btnMoveUp.Name = "btnMoveUp";
|
|
this.btnMoveUp.Size = new System.Drawing.Size(185, 37);
|
|
this.btnMoveUp.TabIndex = 1;
|
|
this.btnMoveUp.Text = "Op";
|
|
this.btnMoveUp.UseVisualStyleBackColor = true;
|
|
this.btnMoveUp.Click += new System.EventHandler(this.btnMoveUp_Click);
|
|
//
|
|
// btnMoveDown
|
|
//
|
|
this.btnMoveDown.Enabled = false;
|
|
this.btnMoveDown.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.btnMoveDown.Location = new System.Drawing.Point(0, 89);
|
|
this.btnMoveDown.Name = "btnMoveDown";
|
|
this.btnMoveDown.Size = new System.Drawing.Size(185, 37);
|
|
this.btnMoveDown.TabIndex = 2;
|
|
this.btnMoveDown.Text = "Ned";
|
|
this.btnMoveDown.UseVisualStyleBackColor = true;
|
|
this.btnMoveDown.Click += new System.EventHandler(this.btnMoveDown_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.checkStartProcedure);
|
|
this.panel1.Controls.Add(this.lblClock);
|
|
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;
|
|
//
|
|
// checkStartProcedure
|
|
//
|
|
this.checkStartProcedure.AutoSize = true;
|
|
this.checkStartProcedure.Location = new System.Drawing.Point(7, 114);
|
|
this.checkStartProcedure.Name = "checkStartProcedure";
|
|
this.checkStartProcedure.Size = new System.Drawing.Size(100, 17);
|
|
this.checkStartProcedure.TabIndex = 8;
|
|
this.checkStartProcedure.Text = "Start Procedure";
|
|
this.checkStartProcedure.UseVisualStyleBackColor = true;
|
|
//
|
|
// lblClock
|
|
//
|
|
this.lblClock.AutoSize = true;
|
|
this.lblClock.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.lblClock.Location = new System.Drawing.Point(0, 222);
|
|
this.lblClock.Name = "lblClock";
|
|
this.lblClock.Size = new System.Drawing.Size(75, 29);
|
|
this.lblClock.TabIndex = 7;
|
|
this.lblClock.Text = "--:--:--";
|
|
//
|
|
// btnAutoStart
|
|
//
|
|
this.btnAutoStart.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.btnAutoStart.Location = new System.Drawing.Point(3, 3);
|
|
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, 46);
|
|
this.btnStop.Name = "btnStop";
|
|
this.btnStop.Size = new System.Drawing.Size(185, 40);
|
|
this.btnStop.TabIndex = 6;
|
|
this.btnStop.Text = "Stop";
|
|
this.btnStop.UseVisualStyleBackColor = true;
|
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
|
//
|
|
// txtHeader
|
|
//
|
|
this.txtHeader.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtHeader.Font = new System.Drawing.Font("Microsoft Sans Serif", 18.25F);
|
|
this.txtHeader.Location = new System.Drawing.Point(3, 3);
|
|
this.txtHeader.Name = "txtHeader";
|
|
this.txtHeader.Size = new System.Drawing.Size(194, 35);
|
|
this.txtHeader.TabIndex = 3;
|
|
//
|
|
// 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, 3);
|
|
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", 14F);
|
|
this.grid.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.txtLog.SetRowSpan(this.grid, 2);
|
|
this.grid.RowTemplate.Height = 30;
|
|
this.grid.Size = new System.Drawing.Size(698, 302);
|
|
this.grid.TabIndex = 0;
|
|
this.grid.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_Click);
|
|
this.grid.MouseMove += new System.Windows.Forms.MouseEventHandler(this.grid_MouseMove);
|
|
//
|
|
// Complete
|
|
//
|
|
this.Complete.DataPropertyName = "Name";
|
|
this.Complete.FillWeight = 400F;
|
|
this.Complete.HeaderText = "Fuldført";
|
|
this.Complete.Name = "Complete";
|
|
this.Complete.ReadOnly = true;
|
|
this.Complete.Text = "Mål";
|
|
//
|
|
// DNF
|
|
//
|
|
this.DNF.HeaderText = "DNF";
|
|
this.DNF.Name = "DNF";
|
|
this.DNF.ReadOnly = true;
|
|
this.DNF.Text = "Udgået";
|
|
this.DNF.UseColumnTextForButtonValue = true;
|
|
//
|
|
// 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, 0);
|
|
this.txtLog.Controls.Add(this.txtHeader, 0, 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, 2, 2);
|
|
this.txtLog.Controls.Add(this.button1, 2, 0);
|
|
this.txtLog.Controls.Add(this.flowLayoutPanel1, 0, 2);
|
|
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;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Controls.Add(this.btnTest);
|
|
this.flowLayoutPanel1.Controls.Add(this.comboSoundTime);
|
|
this.flowLayoutPanel1.Controls.Add(this.label1);
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 311);
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(194, 73);
|
|
this.flowLayoutPanel1.TabIndex = 15;
|
|
//
|
|
// comboSoundTime
|
|
//
|
|
this.comboSoundTime.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comboSoundTime.FormattingEnabled = true;
|
|
this.comboSoundTime.Items.AddRange(new object[] {
|
|
"250",
|
|
"500",
|
|
"750",
|
|
"1000",
|
|
"1250",
|
|
"1500",
|
|
"1750",
|
|
"2000",
|
|
"5000"});
|
|
this.comboSoundTime.Location = new System.Drawing.Point(3, 46);
|
|
this.comboSoundTime.Name = "comboSoundTime";
|
|
this.comboSoundTime.Size = new System.Drawing.Size(97, 21);
|
|
this.comboSoundTime.TabIndex = 26;
|
|
//
|
|
// Clock
|
|
//
|
|
this.Clock.Enabled = true;
|
|
this.Clock.Tick += new System.EventHandler(this.Clock_Tick);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(106, 43);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(68, 13);
|
|
this.label1.TabIndex = 27;
|
|
this.label1.Text = "Millisekunder";
|
|
//
|
|
// nameDataGridViewTextBoxColumn
|
|
//
|
|
this.nameDataGridViewTextBoxColumn.DataPropertyName = "SailNumber";
|
|
this.nameDataGridViewTextBoxColumn.HeaderText = "Sejlnummer";
|
|
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
|
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
|
|
//
|
|
// entryBindingSource
|
|
//
|
|
this.entryBindingSource.DataSource = typeof(Tidstagning.Entry);
|
|
//
|
|
// 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.HelpButton = true;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "Form1";
|
|
this.Text = "Tidstagning";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.Form1_HelpButtonClicked);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
|
|
this.txtLog.ResumeLayout(false);
|
|
this.txtLog.PerformLayout();
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.flowLayoutPanel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.entryBindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.BindingSource entryBindingSource;
|
|
private System.Windows.Forms.Timer countdowntimer;
|
|
private System.Windows.Forms.Button btnTest;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.ComboBox comboComport;
|
|
private System.Windows.Forms.TextBox txtDebug;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Button btnMoveUp;
|
|
private System.Windows.Forms.Button btnMoveDown;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Button btnAutoStart;
|
|
private System.Windows.Forms.Button btnStop;
|
|
private System.Windows.Forms.TextBox txtHeader;
|
|
private System.Windows.Forms.DataGridView grid;
|
|
private System.Windows.Forms.TableLayoutPanel txtLog;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.ComboBox comboSoundTime;
|
|
private System.Windows.Forms.Button btnEditList;
|
|
private System.Windows.Forms.DataGridViewButtonColumn Complete;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewButtonColumn DNF;
|
|
private System.Windows.Forms.Label lblClock;
|
|
private System.Windows.Forms.CheckBox checkStartProcedure;
|
|
private System.Windows.Forms.Timer Clock;
|
|
private System.Windows.Forms.Label label1;
|
|
}
|
|
}
|
|
|