295 lines
14 KiB
C#
295 lines
14 KiB
C#
|
|
namespace Tidstagning
|
|
{
|
|
partial class ConfigUI
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigUI));
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.checkBoxRelay = new System.Windows.Forms.CheckBox();
|
|
this.folderBrowserOutput = new System.Windows.Forms.FolderBrowserDialog();
|
|
this.buttonFolderOutput = new System.Windows.Forms.Button();
|
|
this.folderBrowserInput = new System.Windows.Forms.FolderBrowserDialog();
|
|
this.buttonFolderInput = new System.Windows.Forms.Button();
|
|
this.textPathInput = new System.Windows.Forms.TextBox();
|
|
this.textPathOutput = new System.Windows.Forms.TextBox();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.comboBoxBaudRate = new System.Windows.Forms.ComboBox();
|
|
this.panelRelaySettings = new System.Windows.Forms.Panel();
|
|
this.panelRelaySettings.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(5, 14);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(148, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Select folder for input files.";
|
|
//
|
|
// checkBoxRelay
|
|
//
|
|
this.checkBoxRelay.AutoSize = true;
|
|
this.checkBoxRelay.Location = new System.Drawing.Point(8, 113);
|
|
this.checkBoxRelay.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.checkBoxRelay.Name = "checkBoxRelay";
|
|
this.checkBoxRelay.Size = new System.Drawing.Size(97, 19);
|
|
this.checkBoxRelay.TabIndex = 2;
|
|
this.checkBoxRelay.Text = "Enable Relay?";
|
|
this.checkBoxRelay.UseVisualStyleBackColor = true;
|
|
this.checkBoxRelay.CheckedChanged += new System.EventHandler(this.checkBoxRelay_CheckedChanged);
|
|
//
|
|
// folderBrowserOutput
|
|
//
|
|
this.folderBrowserOutput.Description = "Pick output folder";
|
|
//
|
|
// buttonFolderOutput
|
|
//
|
|
this.buttonFolderOutput.Location = new System.Drawing.Point(366, 83);
|
|
this.buttonFolderOutput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.buttonFolderOutput.Name = "buttonFolderOutput";
|
|
this.buttonFolderOutput.Size = new System.Drawing.Size(88, 27);
|
|
this.buttonFolderOutput.TabIndex = 3;
|
|
this.buttonFolderOutput.Text = "Pick output folder";
|
|
this.buttonFolderOutput.UseVisualStyleBackColor = true;
|
|
this.buttonFolderOutput.Click += new System.EventHandler(this.buttonFolderOutput_Click);
|
|
//
|
|
// folderBrowserInput
|
|
//
|
|
this.folderBrowserInput.Description = "Pick input folder";
|
|
//
|
|
// buttonFolderInput
|
|
//
|
|
this.buttonFolderInput.Location = new System.Drawing.Point(366, 32);
|
|
this.buttonFolderInput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.buttonFolderInput.Name = "buttonFolderInput";
|
|
this.buttonFolderInput.Size = new System.Drawing.Size(88, 27);
|
|
this.buttonFolderInput.TabIndex = 4;
|
|
this.buttonFolderInput.Text = "Pick input folder";
|
|
this.buttonFolderInput.UseVisualStyleBackColor = true;
|
|
this.buttonFolderInput.Click += new System.EventHandler(this.buttonFolderInput_Click);
|
|
//
|
|
// textPathInput
|
|
//
|
|
this.textPathInput.Location = new System.Drawing.Point(8, 32);
|
|
this.textPathInput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.textPathInput.Name = "textPathInput";
|
|
this.textPathInput.Size = new System.Drawing.Size(350, 23);
|
|
this.textPathInput.TabIndex = 5;
|
|
//
|
|
// textPathOutput
|
|
//
|
|
this.textPathOutput.Location = new System.Drawing.Point(8, 83);
|
|
this.textPathOutput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.textPathOutput.Name = "textPathOutput";
|
|
this.textPathOutput.Size = new System.Drawing.Size(350, 23);
|
|
this.textPathOutput.TabIndex = 6;
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonSave.Location = new System.Drawing.Point(371, 323);
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(88, 27);
|
|
this.buttonSave.TabIndex = 7;
|
|
this.buttonSave.Text = "Save";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.Location = new System.Drawing.Point(15, 323);
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(88, 27);
|
|
this.buttonCancel.TabIndex = 8;
|
|
this.buttonCancel.Text = "Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(5, 65);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(156, 15);
|
|
this.label2.TabIndex = 9;
|
|
this.label2.Text = "Select folder for output files.";
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.Location = new System.Drawing.Point(299, 18);
|
|
this.textBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.Size = new System.Drawing.Size(116, 23);
|
|
this.textBox2.TabIndex = 5;
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(161, 18);
|
|
this.textBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(116, 23);
|
|
this.textBox1.TabIndex = 4;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(299, 0);
|
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(84, 15);
|
|
this.label5.TabIndex = 3;
|
|
this.label5.Text = "Off Command";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(161, 0);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(83, 15);
|
|
this.label4.TabIndex = 2;
|
|
this.label4.Text = "On Command";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(2, 0);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(54, 15);
|
|
this.label3.TabIndex = 1;
|
|
this.label3.Text = "Baudrate";
|
|
//
|
|
// comboBoxBaudRate
|
|
//
|
|
this.comboBoxBaudRate.FormattingEnabled = true;
|
|
this.comboBoxBaudRate.Items.AddRange(new object[] {
|
|
"110",
|
|
"150",
|
|
"300",
|
|
"1200",
|
|
"2400",
|
|
"4800",
|
|
"9600",
|
|
"19200",
|
|
"38400",
|
|
"57600",
|
|
"115200",
|
|
"230400",
|
|
"460800",
|
|
"921600"});
|
|
this.comboBoxBaudRate.Location = new System.Drawing.Point(0, 18);
|
|
this.comboBoxBaudRate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.comboBoxBaudRate.Name = "comboBoxBaudRate";
|
|
this.comboBoxBaudRate.Size = new System.Drawing.Size(140, 23);
|
|
this.comboBoxBaudRate.TabIndex = 0;
|
|
//
|
|
// panelRelaySettings
|
|
//
|
|
this.panelRelaySettings.Controls.Add(this.textBox2);
|
|
this.panelRelaySettings.Controls.Add(this.label5);
|
|
this.panelRelaySettings.Controls.Add(this.textBox1);
|
|
this.panelRelaySettings.Controls.Add(this.comboBoxBaudRate);
|
|
this.panelRelaySettings.Controls.Add(this.label3);
|
|
this.panelRelaySettings.Controls.Add(this.label4);
|
|
this.panelRelaySettings.Enabled = false;
|
|
this.panelRelaySettings.Location = new System.Drawing.Point(8, 140);
|
|
this.panelRelaySettings.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.panelRelaySettings.Name = "panelRelaySettings";
|
|
this.panelRelaySettings.Size = new System.Drawing.Size(450, 60);
|
|
this.panelRelaySettings.TabIndex = 11;
|
|
//
|
|
// ConfigUI
|
|
//
|
|
this.AcceptButton = this.buttonSave;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.ClientSize = new System.Drawing.Size(472, 363);
|
|
this.Controls.Add(this.panelRelaySettings);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.textPathOutput);
|
|
this.Controls.Add(this.textPathInput);
|
|
this.Controls.Add(this.buttonFolderInput);
|
|
this.Controls.Add(this.buttonFolderOutput);
|
|
this.Controls.Add(this.checkBoxRelay);
|
|
this.Controls.Add(this.label1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ConfigUI";
|
|
this.Text = "Configuration (Not working yet)";
|
|
this.TopMost = true;
|
|
this.panelRelaySettings.ResumeLayout(false);
|
|
this.panelRelaySettings.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.CheckBox checkBoxRelay;
|
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserOutput;
|
|
private System.Windows.Forms.Button buttonFolderOutput;
|
|
private System.Windows.Forms.FolderBrowserDialog folderBrowserInput;
|
|
private System.Windows.Forms.Button buttonFolderInput;
|
|
private System.Windows.Forms.TextBox textPathInput;
|
|
private System.Windows.Forms.TextBox textPathOutput;
|
|
private System.Windows.Forms.Button buttonSave;
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox comboBoxBaudRate;
|
|
private System.Windows.Forms.Panel panelRelaySettings;
|
|
}
|
|
} |