119 lines
4.8 KiB
C#
Executable File
119 lines
4.8 KiB
C#
Executable File
namespace DistanceTraveled_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.mphBox = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label5hr = new System.Windows.Forms.Label();
|
|
this.calculateButton = new System.Windows.Forms.Button();
|
|
this.label8hr = new System.Windows.Forms.Label();
|
|
this.label12hr = new System.Windows.Forms.Label();
|
|
this.SuspendLayout();
|
|
//
|
|
// mphBox
|
|
//
|
|
this.mphBox.Location = new System.Drawing.Point(85, 6);
|
|
this.mphBox.Name = "mphBox";
|
|
this.mphBox.Size = new System.Drawing.Size(208, 23);
|
|
this.mphBox.TabIndex = 0;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(67, 15);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Enter MPH:";
|
|
//
|
|
// label5hr
|
|
//
|
|
this.label5hr.Location = new System.Drawing.Point(12, 32);
|
|
this.label5hr.Name = "label5hr";
|
|
this.label5hr.Size = new System.Drawing.Size(281, 23);
|
|
this.label5hr.TabIndex = 2;
|
|
this.label5hr.Text = "The object will have traveled X in 5 hours.";
|
|
this.label5hr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// calculateButton
|
|
//
|
|
this.calculateButton.Location = new System.Drawing.Point(12, 104);
|
|
this.calculateButton.Name = "calculateButton";
|
|
this.calculateButton.Size = new System.Drawing.Size(281, 23);
|
|
this.calculateButton.TabIndex = 5;
|
|
this.calculateButton.Text = "Calculate!";
|
|
this.calculateButton.UseVisualStyleBackColor = true;
|
|
this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);
|
|
//
|
|
// label8hr
|
|
//
|
|
this.label8hr.Location = new System.Drawing.Point(12, 55);
|
|
this.label8hr.Name = "label8hr";
|
|
this.label8hr.Size = new System.Drawing.Size(281, 23);
|
|
this.label8hr.TabIndex = 6;
|
|
this.label8hr.Text = "The object will have traveled X in 8 hours.";
|
|
this.label8hr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// label12hr
|
|
//
|
|
this.label12hr.Location = new System.Drawing.Point(12, 78);
|
|
this.label12hr.Name = "label12hr";
|
|
this.label12hr.Size = new System.Drawing.Size(281, 23);
|
|
this.label12hr.TabIndex = 7;
|
|
this.label12hr.Text = "The object will have traveled X in 12 hours.";
|
|
this.label12hr.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(305, 137);
|
|
this.Controls.Add(this.label12hr);
|
|
this.Controls.Add(this.label8hr);
|
|
this.Controls.Add(this.calculateButton);
|
|
this.Controls.Add(this.label5hr);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.mphBox);
|
|
this.Name = "Form1";
|
|
this.Text = "Distance Traveled";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox mphBox;
|
|
private Label label1;
|
|
private Label label5hr;
|
|
private Button calculateButton;
|
|
private Label label8hr;
|
|
private Label label12hr;
|
|
}
|
|
} |