101 lines
4.4 KiB
C#
Executable File
101 lines
4.4 KiB
C#
Executable File
namespace lab6_1_CalebFontenot
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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.lightPictureBox = new System.Windows.Forms.PictureBox();
|
|
this.lightStateLabel = new System.Windows.Forms.Label();
|
|
this.switchButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.lightPictureBox)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lightPictureBox
|
|
//
|
|
this.lightPictureBox.Image = global::lab6_1_CalebFontenot.Properties.Resources.LightOff;
|
|
this.lightPictureBox.Location = new System.Drawing.Point(12, 12);
|
|
this.lightPictureBox.Name = "lightPictureBox";
|
|
this.lightPictureBox.Size = new System.Drawing.Size(199, 252);
|
|
this.lightPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.lightPictureBox.TabIndex = 0;
|
|
this.lightPictureBox.TabStop = false;
|
|
//
|
|
// lightStateLabel
|
|
//
|
|
this.lightStateLabel.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
this.lightStateLabel.Location = new System.Drawing.Point(12, 267);
|
|
this.lightStateLabel.Name = "lightStateLabel";
|
|
this.lightStateLabel.Size = new System.Drawing.Size(199, 36);
|
|
this.lightStateLabel.TabIndex = 1;
|
|
this.lightStateLabel.Text = "OFF";
|
|
this.lightStateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// switchButton
|
|
//
|
|
this.switchButton.Location = new System.Drawing.Point(12, 306);
|
|
this.switchButton.Name = "switchButton";
|
|
this.switchButton.Size = new System.Drawing.Size(95, 23);
|
|
this.switchButton.TabIndex = 2;
|
|
this.switchButton.Text = "Switch Light";
|
|
this.switchButton.UseVisualStyleBackColor = true;
|
|
this.switchButton.Click += new System.EventHandler(this.switchButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(115, 306);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(95, 23);
|
|
this.exitButton.TabIndex = 3;
|
|
this.exitButton.Text = "Exit";
|
|
this.exitButton.UseVisualStyleBackColor = true;
|
|
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(222, 356);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.switchButton);
|
|
this.Controls.Add(this.lightStateLabel);
|
|
this.Controls.Add(this.lightPictureBox);
|
|
this.Name = "Form1";
|
|
this.Text = "Light - Caleb Fontenot";
|
|
((System.ComponentModel.ISupportInitialize)(this.lightPictureBox)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox lightPictureBox;
|
|
private Label lightStateLabel;
|
|
private Button switchButton;
|
|
private Button exitButton;
|
|
}
|
|
} |