142 lines
6.0 KiB
C#
142 lines
6.0 KiB
C#
|
namespace TipTaxTotal_CalebFontenot
|
|||
|
{
|
|||
|
partial class TipTaxTotal
|
|||
|
{
|
|||
|
/// <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.subTotalTextbox = new System.Windows.Forms.TextBox();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.label2 = new System.Windows.Forms.Label();
|
|||
|
this.label3 = new System.Windows.Forms.Label();
|
|||
|
this.tipTextBox = new System.Windows.Forms.TextBox();
|
|||
|
this.salesTaxTextBox = new System.Windows.Forms.TextBox();
|
|||
|
this.calculateButton = new System.Windows.Forms.Button();
|
|||
|
this.outputLabel = new System.Windows.Forms.Label();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// subTotalTextbox
|
|||
|
//
|
|||
|
this.subTotalTextbox.Location = new System.Drawing.Point(214, 30);
|
|||
|
this.subTotalTextbox.Name = "subTotalTextbox";
|
|||
|
this.subTotalTextbox.Size = new System.Drawing.Size(100, 23);
|
|||
|
this.subTotalTextbox.TabIndex = 0;
|
|||
|
this.subTotalTextbox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(80, 33);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(103, 15);
|
|||
|
this.label1.TabIndex = 1;
|
|||
|
this.label1.Text = "Enter the subtotal:";
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(39, 69);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(144, 15);
|
|||
|
this.label2.TabIndex = 2;
|
|||
|
this.label2.Text = "Enter the tip (percentage):";
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
this.label3.AutoSize = true;
|
|||
|
this.label3.Location = new System.Drawing.Point(9, 101);
|
|||
|
this.label3.Name = "label3";
|
|||
|
this.label3.Size = new System.Drawing.Size(174, 15);
|
|||
|
this.label3.TabIndex = 3;
|
|||
|
this.label3.Text = "Enter the sales tax (percentage):";
|
|||
|
//
|
|||
|
// tipTextBox
|
|||
|
//
|
|||
|
this.tipTextBox.Location = new System.Drawing.Point(214, 66);
|
|||
|
this.tipTextBox.Name = "tipTextBox";
|
|||
|
this.tipTextBox.Size = new System.Drawing.Size(100, 23);
|
|||
|
this.tipTextBox.TabIndex = 4;
|
|||
|
this.tipTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|||
|
//
|
|||
|
// salesTaxTextBox
|
|||
|
//
|
|||
|
this.salesTaxTextBox.Location = new System.Drawing.Point(214, 98);
|
|||
|
this.salesTaxTextBox.Name = "salesTaxTextBox";
|
|||
|
this.salesTaxTextBox.Size = new System.Drawing.Size(100, 23);
|
|||
|
this.salesTaxTextBox.TabIndex = 5;
|
|||
|
this.salesTaxTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|||
|
//
|
|||
|
// calculateButton
|
|||
|
//
|
|||
|
this.calculateButton.Location = new System.Drawing.Point(130, 131);
|
|||
|
this.calculateButton.Name = "calculateButton";
|
|||
|
this.calculateButton.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.calculateButton.TabIndex = 6;
|
|||
|
this.calculateButton.Text = "Calculate!";
|
|||
|
this.calculateButton.UseVisualStyleBackColor = true;
|
|||
|
this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);
|
|||
|
//
|
|||
|
// outputLabel
|
|||
|
//
|
|||
|
this.outputLabel.Location = new System.Drawing.Point(9, 157);
|
|||
|
this.outputLabel.Name = "outputLabel";
|
|||
|
this.outputLabel.Size = new System.Drawing.Size(305, 23);
|
|||
|
this.outputLabel.TabIndex = 7;
|
|||
|
this.outputLabel.Text = "Your total will be displayed here.";
|
|||
|
this.outputLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|||
|
//
|
|||
|
// TipTaxTotal
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(326, 189);
|
|||
|
this.Controls.Add(this.outputLabel);
|
|||
|
this.Controls.Add(this.calculateButton);
|
|||
|
this.Controls.Add(this.salesTaxTextBox);
|
|||
|
this.Controls.Add(this.tipTextBox);
|
|||
|
this.Controls.Add(this.label3);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.subTotalTextbox);
|
|||
|
this.Name = "TipTaxTotal";
|
|||
|
this.Text = "Tip, Tax, Total";
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private TextBox subTotalTextbox;
|
|||
|
private Label label1;
|
|||
|
private Label label2;
|
|||
|
private Label label3;
|
|||
|
private TextBox tipTextBox;
|
|||
|
private TextBox salesTaxTextBox;
|
|||
|
private Button calculateButton;
|
|||
|
private Label outputLabel;
|
|||
|
}
|
|||
|
}
|