109 lines
4.6 KiB
C#
109 lines
4.6 KiB
C#
namespace Max
|
|
{
|
|
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.promptLabel = new System.Windows.Forms.Label();
|
|
this.number1TextBox = new System.Windows.Forms.TextBox();
|
|
this.number2TextBox = new System.Windows.Forms.TextBox();
|
|
this.showGreatestButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// promptLabel
|
|
//
|
|
this.promptLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.promptLabel.Location = new System.Drawing.Point(12, 9);
|
|
this.promptLabel.Name = "promptLabel";
|
|
this.promptLabel.Size = new System.Drawing.Size(260, 35);
|
|
this.promptLabel.TabIndex = 0;
|
|
this.promptLabel.Text = "Enter two numbers and I will display the greater of the two.";
|
|
this.promptLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// number1TextBox
|
|
//
|
|
this.number1TextBox.Location = new System.Drawing.Point(72, 55);
|
|
this.number1TextBox.Name = "number1TextBox";
|
|
this.number1TextBox.Size = new System.Drawing.Size(67, 20);
|
|
this.number1TextBox.TabIndex = 1;
|
|
//
|
|
// number2TextBox
|
|
//
|
|
this.number2TextBox.Location = new System.Drawing.Point(145, 55);
|
|
this.number2TextBox.Name = "number2TextBox";
|
|
this.number2TextBox.Size = new System.Drawing.Size(67, 20);
|
|
this.number2TextBox.TabIndex = 2;
|
|
//
|
|
// showGreatestButton
|
|
//
|
|
this.showGreatestButton.Location = new System.Drawing.Point(64, 97);
|
|
this.showGreatestButton.Name = "showGreatestButton";
|
|
this.showGreatestButton.Size = new System.Drawing.Size(75, 38);
|
|
this.showGreatestButton.TabIndex = 3;
|
|
this.showGreatestButton.Text = "Show Greatest";
|
|
this.showGreatestButton.UseVisualStyleBackColor = true;
|
|
this.showGreatestButton.Click += new System.EventHandler(this.showGreatestButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(145, 97);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(75, 38);
|
|
this.exitButton.TabIndex = 4;
|
|
this.exitButton.Text = "Exit";
|
|
this.exitButton.UseVisualStyleBackColor = true;
|
|
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(284, 150);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.showGreatestButton);
|
|
this.Controls.Add(this.number2TextBox);
|
|
this.Controls.Add(this.number1TextBox);
|
|
this.Controls.Add(this.promptLabel);
|
|
this.Name = "Form1";
|
|
this.Text = "Max";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label promptLabel;
|
|
private System.Windows.Forms.TextBox number1TextBox;
|
|
private System.Windows.Forms.TextBox number2TextBox;
|
|
private System.Windows.Forms.Button showGreatestButton;
|
|
private System.Windows.Forms.Button exitButton;
|
|
}
|
|
}
|
|
|