114 lines
No EOL
3.9 KiB
C#
114 lines
No EOL
3.9 KiB
C#
namespace PC3Player
|
|
{
|
|
partial class SerialPortSelector
|
|
{
|
|
/// <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()
|
|
{
|
|
label1 = new Label();
|
|
PortDropDown = new ComboBox();
|
|
CancelButton = new Button();
|
|
OKButton = new Button();
|
|
panel1 = new Panel();
|
|
panel1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 15);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(29, 15);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Port";
|
|
//
|
|
// PortDropDown
|
|
//
|
|
PortDropDown.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
PortDropDown.FormattingEnabled = true;
|
|
PortDropDown.Location = new Point(47, 12);
|
|
PortDropDown.Name = "PortDropDown";
|
|
PortDropDown.Size = new Size(191, 23);
|
|
PortDropDown.TabIndex = 1;
|
|
//
|
|
// CancelButton
|
|
//
|
|
CancelButton.DialogResult = DialogResult.Cancel;
|
|
CancelButton.Location = new Point(82, 13);
|
|
CancelButton.Name = "CancelButton";
|
|
CancelButton.Size = new Size(75, 25);
|
|
CancelButton.TabIndex = 2;
|
|
CancelButton.Text = "Cancel";
|
|
CancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// OKButton
|
|
//
|
|
OKButton.DialogResult = DialogResult.OK;
|
|
OKButton.Location = new Point(163, 13);
|
|
OKButton.Name = "OKButton";
|
|
OKButton.Size = new Size(75, 25);
|
|
OKButton.TabIndex = 3;
|
|
OKButton.Text = "OK";
|
|
OKButton.UseVisualStyleBackColor = true;
|
|
OKButton.Click += OKButton_Click;
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.BackColor = SystemColors.MenuBar;
|
|
panel1.Controls.Add(OKButton);
|
|
panel1.Controls.Add(CancelButton);
|
|
panel1.Location = new Point(0, 50);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(250, 50);
|
|
panel1.TabIndex = 4;
|
|
//
|
|
// SerialPortSelector
|
|
//
|
|
AcceptButton = OKButton;
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(250, 100);
|
|
Controls.Add(panel1);
|
|
Controls.Add(PortDropDown);
|
|
Controls.Add(label1);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
Name = "SerialPortSelector";
|
|
Text = "Select a Serial Port";
|
|
Load += SerialPortSelector_Load;
|
|
panel1.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private ComboBox PortDropDown;
|
|
private Button CancelButton;
|
|
private Button OKButton;
|
|
private Panel panel1;
|
|
}
|
|
} |