133 lines
5.4 KiB
C#
Executable File
133 lines
5.4 KiB
C#
Executable File
namespace lab6_4_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.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.cupsTextBox = new System.Windows.Forms.TextBox();
|
|
this.ouncesTextBox = new System.Windows.Forms.TextBox();
|
|
this.convertButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(276, 23);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Cups to Fluid Ounces Converter";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(99, 48);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(37, 15);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Cups:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(57, 78);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(79, 15);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Fluid Ounces:";
|
|
//
|
|
// cupsTextBox
|
|
//
|
|
this.cupsTextBox.Location = new System.Drawing.Point(142, 45);
|
|
this.cupsTextBox.Name = "cupsTextBox";
|
|
this.cupsTextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.cupsTextBox.TabIndex = 3;
|
|
//
|
|
// ouncesTextBox
|
|
//
|
|
this.ouncesTextBox.Location = new System.Drawing.Point(142, 75);
|
|
this.ouncesTextBox.Name = "ouncesTextBox";
|
|
this.ouncesTextBox.ReadOnly = true;
|
|
this.ouncesTextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.ouncesTextBox.TabIndex = 4;
|
|
this.ouncesTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// convertButton
|
|
//
|
|
this.convertButton.Location = new System.Drawing.Point(40, 108);
|
|
this.convertButton.Name = "convertButton";
|
|
this.convertButton.Size = new System.Drawing.Size(96, 23);
|
|
this.convertButton.TabIndex = 5;
|
|
this.convertButton.Text = "Convert";
|
|
this.convertButton.UseVisualStyleBackColor = true;
|
|
this.convertButton.Click += new System.EventHandler(this.convertButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(142, 108);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(96, 23);
|
|
this.exitButton.TabIndex = 6;
|
|
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(300, 145);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.convertButton);
|
|
this.Controls.Add(this.ouncesTextBox);
|
|
this.Controls.Add(this.cupsTextBox);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox cupsTextBox;
|
|
private TextBox ouncesTextBox;
|
|
private Button convertButton;
|
|
private Button exitButton;
|
|
}
|
|
} |