first commit
This commit is contained in:
110
Form1.Designer.cs
generated
Normal file
110
Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,110 @@
|
||||
namespace Serial_Comms_CS
|
||||
{
|
||||
partial class MainForm
|
||||
{
|
||||
/// <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();
|
||||
this.serialPortLbl = new System.Windows.Forms.Label();
|
||||
this.serialPortBox = new System.Windows.Forms.ComboBox();
|
||||
this.sendBtn = new System.Windows.Forms.Button();
|
||||
this.reconnectBtn = new System.Windows.Forms.Button();
|
||||
this.serialTimer = new System.Windows.Forms.Timer(this.components);
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// serialPortLbl
|
||||
//
|
||||
this.serialPortLbl.AutoSize = true;
|
||||
this.serialPortLbl.Location = new System.Drawing.Point(28, 33);
|
||||
this.serialPortLbl.Name = "serialPortLbl";
|
||||
this.serialPortLbl.Size = new System.Drawing.Size(124, 16);
|
||||
this.serialPortLbl.TabIndex = 0;
|
||||
this.serialPortLbl.Text = "Arduino Serial Port: ";
|
||||
//
|
||||
// serialPortBox
|
||||
//
|
||||
this.serialPortBox.FormattingEnabled = true;
|
||||
this.serialPortBox.Location = new System.Drawing.Point(159, 33);
|
||||
this.serialPortBox.Name = "serialPortBox";
|
||||
this.serialPortBox.Size = new System.Drawing.Size(121, 24);
|
||||
this.serialPortBox.TabIndex = 1;
|
||||
this.serialPortBox.SelectedIndexChanged += new System.EventHandler(this.serialPortBox_SelectedIndexChanged);
|
||||
//
|
||||
// sendBtn
|
||||
//
|
||||
this.sendBtn.Location = new System.Drawing.Point(31, 74);
|
||||
this.sendBtn.Name = "sendBtn";
|
||||
this.sendBtn.Size = new System.Drawing.Size(121, 23);
|
||||
this.sendBtn.TabIndex = 2;
|
||||
this.sendBtn.Text = "Send";
|
||||
this.sendBtn.UseVisualStyleBackColor = true;
|
||||
this.sendBtn.Click += new System.EventHandler(this.sendBtn_Click);
|
||||
//
|
||||
// reconnectBtn
|
||||
//
|
||||
this.reconnectBtn.Location = new System.Drawing.Point(159, 74);
|
||||
this.reconnectBtn.Name = "reconnectBtn";
|
||||
this.reconnectBtn.Size = new System.Drawing.Size(121, 23);
|
||||
this.reconnectBtn.TabIndex = 3;
|
||||
this.reconnectBtn.Text = "Reconnect";
|
||||
this.reconnectBtn.UseVisualStyleBackColor = true;
|
||||
this.reconnectBtn.Click += new System.EventHandler(this.reconnectBtn_Click);
|
||||
//
|
||||
// serialTimer
|
||||
//
|
||||
this.serialTimer.Interval = 50;
|
||||
this.serialTimer.Tick += new System.EventHandler(this.serialTimer_Tick);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(311, 121);
|
||||
this.Controls.Add(this.reconnectBtn);
|
||||
this.Controls.Add(this.sendBtn);
|
||||
this.Controls.Add(this.serialPortBox);
|
||||
this.Controls.Add(this.serialPortLbl);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "MainForm";
|
||||
this.Text = "Serial Comms";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label serialPortLbl;
|
||||
private System.Windows.Forms.ComboBox serialPortBox;
|
||||
private System.Windows.Forms.Button sendBtn;
|
||||
private System.Windows.Forms.Button reconnectBtn;
|
||||
private System.Windows.Forms.Timer serialTimer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user