194 lines
8.3 KiB
C#
Executable File
194 lines
8.3 KiB
C#
Executable File
namespace Lab4_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.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.averageLabel = new System.Windows.Forms.TextBox();
|
|
this.test3TextBox = new System.Windows.Forms.TextBox();
|
|
this.test2TextBox = new System.Windows.Forms.TextBox();
|
|
this.test1TextBox = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.calculateButton = new System.Windows.Forms.Button();
|
|
this.clearButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.averageLabel);
|
|
this.groupBox1.Controls.Add(this.test3TextBox);
|
|
this.groupBox1.Controls.Add(this.test2TextBox);
|
|
this.groupBox1.Controls.Add(this.test1TextBox);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(204, 158);
|
|
this.groupBox1.TabIndex = 0;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Enter Three Test Scores";
|
|
//
|
|
// averageLabel
|
|
//
|
|
this.averageLabel.Location = new System.Drawing.Point(91, 111);
|
|
this.averageLabel.Name = "averageLabel";
|
|
this.averageLabel.ReadOnly = true;
|
|
this.averageLabel.Size = new System.Drawing.Size(100, 23);
|
|
this.averageLabel.TabIndex = 7;
|
|
this.averageLabel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// test3TextBox
|
|
//
|
|
this.test3TextBox.Location = new System.Drawing.Point(91, 82);
|
|
this.test3TextBox.Name = "test3TextBox";
|
|
this.test3TextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.test3TextBox.TabIndex = 6;
|
|
this.test3TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// test2TextBox
|
|
//
|
|
this.test2TextBox.Location = new System.Drawing.Point(91, 55);
|
|
this.test2TextBox.Name = "test2TextBox";
|
|
this.test2TextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.test2TextBox.TabIndex = 5;
|
|
this.test2TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// test1TextBox
|
|
//
|
|
this.test1TextBox.Location = new System.Drawing.Point(91, 28);
|
|
this.test1TextBox.Name = "test1TextBox";
|
|
this.test1TextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.test1TextBox.TabIndex = 4;
|
|
this.test1TextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(31, 114);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(53, 15);
|
|
this.label4.TabIndex = 3;
|
|
this.label4.Text = "Average:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 85);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(78, 15);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Test Score #3:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 58);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(78, 15);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Test Score #2:";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 31);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(78, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Test Score #1:";
|
|
//
|
|
// calculateButton
|
|
//
|
|
this.calculateButton.Location = new System.Drawing.Point(12, 176);
|
|
this.calculateButton.Name = "calculateButton";
|
|
this.calculateButton.Size = new System.Drawing.Size(84, 52);
|
|
this.calculateButton.TabIndex = 1;
|
|
this.calculateButton.Text = "Calculate Average";
|
|
this.calculateButton.UseVisualStyleBackColor = true;
|
|
this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);
|
|
//
|
|
// clearButton
|
|
//
|
|
this.clearButton.Location = new System.Drawing.Point(103, 176);
|
|
this.clearButton.Name = "clearButton";
|
|
this.clearButton.Size = new System.Drawing.Size(113, 23);
|
|
this.clearButton.TabIndex = 2;
|
|
this.clearButton.Text = "Clear";
|
|
this.clearButton.UseVisualStyleBackColor = true;
|
|
this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(103, 205);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(113, 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(238, 241);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.clearButton);
|
|
this.Controls.Add(this.calculateButton);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Name = "Form1";
|
|
this.Text = "Test Grade Calculator";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox groupBox1;
|
|
private TextBox averageLabel;
|
|
private TextBox test3TextBox;
|
|
private TextBox test2TextBox;
|
|
private TextBox test1TextBox;
|
|
private Label label4;
|
|
private Label label3;
|
|
private Label label2;
|
|
private Label label1;
|
|
private Button calculateButton;
|
|
private Button clearButton;
|
|
private Button exitButton;
|
|
}
|
|
} |