78 lines
2.7 KiB
C#
78 lines
2.7 KiB
C#
using System.IO.Ports;
|
|
|
|
namespace ErgometerSimulator
|
|
{
|
|
partial class ErgometerSimulator
|
|
{
|
|
/// <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.connectButton = new System.Windows.Forms.Button();
|
|
this.ComPortBox = new System.Windows.Forms.ComboBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// connectButton
|
|
//
|
|
this.connectButton.Location = new System.Drawing.Point(139, 12);
|
|
this.connectButton.Name = "connectButton";
|
|
this.connectButton.Size = new System.Drawing.Size(101, 27);
|
|
this.connectButton.TabIndex = 0;
|
|
this.connectButton.Text = "Connect";
|
|
this.connectButton.UseVisualStyleBackColor = true;
|
|
this.connectButton.Click += new System.EventHandler(this.connectButton_Click);
|
|
//
|
|
// ComPortBox
|
|
//
|
|
this.ComPortBox.FormattingEnabled = true;
|
|
this.ComPortBox.Items.AddRange(new object[] {
|
|
"COM5",
|
|
"COM4"});
|
|
this.ComPortBox.Location = new System.Drawing.Point(12, 12);
|
|
this.ComPortBox.Name = "ComPortBox";
|
|
this.ComPortBox.Size = new System.Drawing.Size(121, 24);
|
|
this.ComPortBox.TabIndex = 1;
|
|
//
|
|
// ErgometerSimulator
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(351, 87);
|
|
this.Controls.Add(this.ComPortBox);
|
|
this.Controls.Add(this.connectButton);
|
|
this.Name = "ErgometerSimulator";
|
|
this.Text = "Ergometer Simulator";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button connectButton;
|
|
private System.Windows.Forms.ComboBox ComPortBox;
|
|
}
|
|
}
|
|
|