141 lines
5.8 KiB
C#
141 lines
5.8 KiB
C#
|
namespace lab6_5_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.grossPayTextBox = new System.Windows.Forms.TextBox();
|
|||
|
this.bonusTextBox = new System.Windows.Forms.TextBox();
|
|||
|
this.contributionTextBox = new System.Windows.Forms.TextBox();
|
|||
|
this.calculateButton = new System.Windows.Forms.Button();
|
|||
|
this.exitButton = new System.Windows.Forms.Button();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// 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(89, 15);
|
|||
|
this.label1.TabIndex = 0;
|
|||
|
this.label1.Text = "Total Gross Pay:";
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(9, 43);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(90, 15);
|
|||
|
this.label2.TabIndex = 1;
|
|||
|
this.label2.Text = "Bonus Amount:";
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
this.label3.Location = new System.Drawing.Point(9, 61);
|
|||
|
this.label3.Name = "label3";
|
|||
|
this.label3.Size = new System.Drawing.Size(78, 42);
|
|||
|
this.label3.TabIndex = 2;
|
|||
|
this.label3.Text = "Retirement Contribution: ";
|
|||
|
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// grossPayTextBox
|
|||
|
//
|
|||
|
this.grossPayTextBox.Location = new System.Drawing.Point(105, 6);
|
|||
|
this.grossPayTextBox.Name = "grossPayTextBox";
|
|||
|
this.grossPayTextBox.Size = new System.Drawing.Size(141, 23);
|
|||
|
this.grossPayTextBox.TabIndex = 3;
|
|||
|
//
|
|||
|
// bonusTextBox
|
|||
|
//
|
|||
|
this.bonusTextBox.Location = new System.Drawing.Point(105, 40);
|
|||
|
this.bonusTextBox.Name = "bonusTextBox";
|
|||
|
this.bonusTextBox.Size = new System.Drawing.Size(141, 23);
|
|||
|
this.bonusTextBox.TabIndex = 4;
|
|||
|
//
|
|||
|
// contributionTextBox
|
|||
|
//
|
|||
|
this.contributionTextBox.Location = new System.Drawing.Point(105, 72);
|
|||
|
this.contributionTextBox.Name = "contributionTextBox";
|
|||
|
this.contributionTextBox.ReadOnly = true;
|
|||
|
this.contributionTextBox.Size = new System.Drawing.Size(141, 23);
|
|||
|
this.contributionTextBox.TabIndex = 5;
|
|||
|
//
|
|||
|
// calculateButton
|
|||
|
//
|
|||
|
this.calculateButton.Location = new System.Drawing.Point(12, 117);
|
|||
|
this.calculateButton.Name = "calculateButton";
|
|||
|
this.calculateButton.Size = new System.Drawing.Size(108, 40);
|
|||
|
this.calculateButton.TabIndex = 6;
|
|||
|
this.calculateButton.Text = "Calculate Contribution";
|
|||
|
this.calculateButton.UseVisualStyleBackColor = true;
|
|||
|
this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);
|
|||
|
//
|
|||
|
// exitButton
|
|||
|
//
|
|||
|
this.exitButton.Location = new System.Drawing.Point(137, 117);
|
|||
|
this.exitButton.Name = "exitButton";
|
|||
|
this.exitButton.Size = new System.Drawing.Size(108, 40);
|
|||
|
this.exitButton.TabIndex = 7;
|
|||
|
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(257, 171);
|
|||
|
this.Controls.Add(this.exitButton);
|
|||
|
this.Controls.Add(this.calculateButton);
|
|||
|
this.Controls.Add(this.contributionTextBox);
|
|||
|
this.Controls.Add(this.bonusTextBox);
|
|||
|
this.Controls.Add(this.grossPayTextBox);
|
|||
|
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 grossPayTextBox;
|
|||
|
private TextBox bonusTextBox;
|
|||
|
private TextBox contributionTextBox;
|
|||
|
private Button calculateButton;
|
|||
|
private Button exitButton;
|
|||
|
}
|
|||
|
}
|