CramLink_v2/MainForm.Designer.cs
2025-05-05 11:45:57 -05:00

127 lines
4.1 KiB
C#

using System.Windows.Forms;
namespace CramLinkClientGUI
{
public partial class MainForm
{
private System.ComponentModel.IContainer components = null;
private ComboBox siteComboBox;
private Button connectButton;
private Label statusLabel;
private TextBox logBox;
private Label label1;
private Label label2;
private Label piStatus;
private Label plcStatus;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
}
private void InitializeComponent()
{
siteComboBox = new ComboBox();
connectButton = new Button();
statusLabel = new Label();
logBox = new TextBox();
label1 = new Label();
label2 = new Label();
piStatus = new Label();
plcStatus = new Label();
SuspendLayout();
//
// siteComboBox
//
siteComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
siteComboBox.FormattingEnabled = true;
siteComboBox.Location = new Point(12, 12);
siteComboBox.Name = "siteComboBox";
siteComboBox.Size = new Size(300, 23);
siteComboBox.TabIndex = 0;
//
// connectButton
//
connectButton.Location = new Point(330, 12);
connectButton.Name = "connectButton";
connectButton.Size = new Size(100, 23);
connectButton.TabIndex = 1;
connectButton.Text = "Connect";
connectButton.Click += connectButton_Click;
//
// statusLabel
//
statusLabel.AutoSize = true;
statusLabel.Location = new Point(450, 17);
statusLabel.Name = "statusLabel";
statusLabel.Size = new Size(79, 15);
statusLabel.TabIndex = 2;
statusLabel.Text = "Disconnected";
//
// logBox
//
logBox.Location = new Point(12, 50);
logBox.Multiline = true;
logBox.Name = "logBox";
logBox.ReadOnly = true;
logBox.ScrollBars = ScrollBars.Vertical;
logBox.Size = new Size(600, 300);
logBox.TabIndex = 3;
//
// label1
//
label1.Location = new Point(12, 360);
label1.Name = "label1";
label1.Size = new Size(59, 23);
label1.TabIndex = 4;
label1.Text = "Pi Status:";
//
// label2
//
label2.Location = new Point(101, 360);
label2.Name = "label2";
label2.Size = new Size(70, 23);
label2.TabIndex = 6;
label2.Text = "PLC Status:";
//
// piStatus
//
piStatus.Font = new Font("Segoe UI Emoji", 12F, FontStyle.Regular, GraphicsUnit.Point);
piStatus.Location = new Point(65, 358);
piStatus.Name = "piStatus";
piStatus.Size = new Size(30, 23);
piStatus.TabIndex = 5;
piStatus.Text = "🔴";
//
// plcStatus
//
plcStatus.Font = new Font("Segoe UI Emoji", 12F, FontStyle.Regular, GraphicsUnit.Point);
plcStatus.Location = new Point(168, 358);
plcStatus.Name = "plcStatus";
plcStatus.Size = new Size(31, 23);
plcStatus.TabIndex = 7;
plcStatus.Text = "🔴";
//
// MainForm
//
ClientSize = new Size(630, 390);
Controls.Add(siteComboBox);
Controls.Add(connectButton);
Controls.Add(statusLabel);
Controls.Add(logBox);
Controls.Add(label1);
Controls.Add(piStatus);
Controls.Add(label2);
Controls.Add(plcStatus);
Name = "MainForm";
Text = "CramLink VPN Client";
ResumeLayout(false);
PerformLayout();
}
}
}