153 lines
6.4 KiB
C#
Executable File
153 lines
6.4 KiB
C#
Executable File
namespace Lab4_2_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.hoursWorkedTextBox = new System.Windows.Forms.TextBox();
|
|
this.hourlyPayRateTextBox = new System.Windows.Forms.TextBox();
|
|
this.grossPayLabel = new System.Windows.Forms.TextBox();
|
|
this.calculateButton = new System.Windows.Forms.Button();
|
|
this.clearButton = 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, 32);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(86, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Hours Worked:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(7, 60);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(91, 15);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Hourly pay rate:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(37, 89);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(61, 15);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Gross pay:";
|
|
//
|
|
// hoursWorkedTextBox
|
|
//
|
|
this.hoursWorkedTextBox.Location = new System.Drawing.Point(104, 29);
|
|
this.hoursWorkedTextBox.Name = "hoursWorkedTextBox";
|
|
this.hoursWorkedTextBox.Size = new System.Drawing.Size(113, 23);
|
|
this.hoursWorkedTextBox.TabIndex = 3;
|
|
//
|
|
// hourlyPayRateTextBox
|
|
//
|
|
this.hourlyPayRateTextBox.Location = new System.Drawing.Point(104, 57);
|
|
this.hourlyPayRateTextBox.Name = "hourlyPayRateTextBox";
|
|
this.hourlyPayRateTextBox.Size = new System.Drawing.Size(113, 23);
|
|
this.hourlyPayRateTextBox.TabIndex = 4;
|
|
//
|
|
// grossPayLabel
|
|
//
|
|
this.grossPayLabel.Location = new System.Drawing.Point(104, 86);
|
|
this.grossPayLabel.Name = "grossPayLabel";
|
|
this.grossPayLabel.Size = new System.Drawing.Size(113, 23);
|
|
this.grossPayLabel.TabIndex = 5;
|
|
//
|
|
// calculateButton
|
|
//
|
|
this.calculateButton.Location = new System.Drawing.Point(7, 115);
|
|
this.calculateButton.Name = "calculateButton";
|
|
this.calculateButton.Size = new System.Drawing.Size(74, 47);
|
|
this.calculateButton.TabIndex = 6;
|
|
this.calculateButton.Text = "Calculate Gross Pay";
|
|
this.calculateButton.UseVisualStyleBackColor = true;
|
|
this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);
|
|
//
|
|
// clearButton
|
|
//
|
|
this.clearButton.Location = new System.Drawing.Point(87, 115);
|
|
this.clearButton.Name = "clearButton";
|
|
this.clearButton.Size = new System.Drawing.Size(60, 47);
|
|
this.clearButton.TabIndex = 7;
|
|
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(153, 115);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(64, 47);
|
|
this.exitButton.TabIndex = 8;
|
|
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(232, 182);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.clearButton);
|
|
this.Controls.Add(this.calculateButton);
|
|
this.Controls.Add(this.grossPayLabel);
|
|
this.Controls.Add(this.hourlyPayRateTextBox);
|
|
this.Controls.Add(this.hoursWorkedTextBox);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Payroll with Overtime";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox hoursWorkedTextBox;
|
|
private TextBox hourlyPayRateTextBox;
|
|
private TextBox grossPayLabel;
|
|
private Button calculateButton;
|
|
private Button clearButton;
|
|
private Button exitButton;
|
|
}
|
|
} |