Complete MP4 RCS

This commit is contained in:
2022-11-16 17:48:22 -06:00
parent ab09a46923
commit cbe581d438
85 changed files with 1417 additions and 204 deletions

View File

@@ -29,29 +29,32 @@
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lubeJobCheckBox = new System.Windows.Forms.CheckBox();
this.oilChangeCheckBox = new System.Windows.Forms.CheckBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.tireRotationCheckBox = new System.Windows.Forms.CheckBox();
this.replaceMufflerCheckBox = new System.Windows.Forms.CheckBox();
this.inspectionCheckBox = new System.Windows.Forms.CheckBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.checkBox7 = new System.Windows.Forms.CheckBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.totalFeesTextBox = new System.Windows.Forms.TextBox();
this.taxTextBox = new System.Windows.Forms.TextBox();
this.partsTextBox = new System.Windows.Forms.TextBox();
this.servicesAndLaborTextBox = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.transmissionFlushCheckBox = new System.Windows.Forms.CheckBox();
this.radiatorFlushCheckBox = new System.Windows.Forms.CheckBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
@@ -61,124 +64,196 @@
//
// groupBox1
//
this.groupBox1.Controls.Add(this.checkBox2);
this.groupBox1.Controls.Add(this.checkBox1);
this.groupBox1.Controls.Add(this.lubeJobCheckBox);
this.groupBox1.Controls.Add(this.oilChangeCheckBox);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(200, 100);
this.groupBox1.Size = new System.Drawing.Size(200, 76);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Oil && Lube";
//
// lubeJobCheckBox
//
this.lubeJobCheckBox.AutoSize = true;
this.lubeJobCheckBox.Location = new System.Drawing.Point(14, 47);
this.lubeJobCheckBox.Name = "lubeJobCheckBox";
this.lubeJobCheckBox.Size = new System.Drawing.Size(117, 19);
this.lubeJobCheckBox.TabIndex = 1;
this.lubeJobCheckBox.Text = "Lube Job ($18.00)";
this.lubeJobCheckBox.UseVisualStyleBackColor = true;
//
// oilChangeCheckBox
//
this.oilChangeCheckBox.AutoSize = true;
this.oilChangeCheckBox.Location = new System.Drawing.Point(14, 22);
this.oilChangeCheckBox.Name = "oilChangeCheckBox";
this.oilChangeCheckBox.Size = new System.Drawing.Size(129, 19);
this.oilChangeCheckBox.TabIndex = 0;
this.oilChangeCheckBox.Text = "Oil Change ($26.00)";
this.oilChangeCheckBox.UseVisualStyleBackColor = true;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.checkBox5);
this.groupBox2.Controls.Add(this.checkBox4);
this.groupBox2.Controls.Add(this.checkBox3);
this.groupBox2.Location = new System.Drawing.Point(12, 118);
this.groupBox2.Controls.Add(this.tireRotationCheckBox);
this.groupBox2.Controls.Add(this.replaceMufflerCheckBox);
this.groupBox2.Controls.Add(this.inspectionCheckBox);
this.groupBox2.Location = new System.Drawing.Point(12, 94);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(200, 100);
this.groupBox2.Size = new System.Drawing.Size(200, 124);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Misc";
//
// tireRotationCheckBox
//
this.tireRotationCheckBox.AutoSize = true;
this.tireRotationCheckBox.Location = new System.Drawing.Point(14, 74);
this.tireRotationCheckBox.Name = "tireRotationCheckBox";
this.tireRotationCheckBox.Size = new System.Drawing.Size(137, 19);
this.tireRotationCheckBox.TabIndex = 2;
this.tireRotationCheckBox.Text = "Tire Rotation ($20.00)";
this.tireRotationCheckBox.UseVisualStyleBackColor = true;
//
// replaceMufflerCheckBox
//
this.replaceMufflerCheckBox.AutoSize = true;
this.replaceMufflerCheckBox.Location = new System.Drawing.Point(14, 49);
this.replaceMufflerCheckBox.Name = "replaceMufflerCheckBox";
this.replaceMufflerCheckBox.Size = new System.Drawing.Size(159, 19);
this.replaceMufflerCheckBox.TabIndex = 1;
this.replaceMufflerCheckBox.Text = "Replace Muffler ($100.00)";
this.replaceMufflerCheckBox.UseVisualStyleBackColor = true;
//
// inspectionCheckBox
//
this.inspectionCheckBox.AutoSize = true;
this.inspectionCheckBox.Location = new System.Drawing.Point(14, 24);
this.inspectionCheckBox.Name = "inspectionCheckBox";
this.inspectionCheckBox.Size = new System.Drawing.Size(125, 19);
this.inspectionCheckBox.TabIndex = 0;
this.inspectionCheckBox.Text = "Inspection ($15.00)";
this.inspectionCheckBox.UseVisualStyleBackColor = true;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.textBox6);
this.groupBox3.Controls.Add(this.textBox5);
this.groupBox3.Controls.Add(this.textBox4);
this.groupBox3.Controls.Add(this.textBox3);
this.groupBox3.Controls.Add(this.totalFeesTextBox);
this.groupBox3.Controls.Add(this.taxTextBox);
this.groupBox3.Controls.Add(this.partsTextBox);
this.groupBox3.Controls.Add(this.servicesAndLaborTextBox);
this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Location = new System.Drawing.Point(12, 224);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(406, 140);
this.groupBox3.Size = new System.Drawing.Size(406, 132);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "groupBox3";
this.groupBox3.Text = "Summary";
//
// checkBox1
// totalFeesTextBox
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(14, 22);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(129, 19);
this.checkBox1.TabIndex = 0;
this.checkBox1.Text = "Oil Change ($26.00)";
this.checkBox1.UseVisualStyleBackColor = true;
this.totalFeesTextBox.Location = new System.Drawing.Point(115, 98);
this.totalFeesTextBox.Name = "totalFeesTextBox";
this.totalFeesTextBox.ReadOnly = true;
this.totalFeesTextBox.Size = new System.Drawing.Size(285, 23);
this.totalFeesTextBox.TabIndex = 7;
this.totalFeesTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// checkBox2
// taxTextBox
//
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(14, 47);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(83, 19);
this.checkBox2.TabIndex = 1;
this.checkBox2.Text = "checkBox2";
this.checkBox2.UseVisualStyleBackColor = true;
this.taxTextBox.Location = new System.Drawing.Point(115, 69);
this.taxTextBox.Name = "taxTextBox";
this.taxTextBox.ReadOnly = true;
this.taxTextBox.Size = new System.Drawing.Size(285, 23);
this.taxTextBox.TabIndex = 6;
this.taxTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// checkBox3
// partsTextBox
//
this.checkBox3.AutoSize = true;
this.checkBox3.Location = new System.Drawing.Point(14, 26);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(83, 19);
this.checkBox3.TabIndex = 0;
this.checkBox3.Text = "checkBox3";
this.checkBox3.UseVisualStyleBackColor = true;
this.partsTextBox.Location = new System.Drawing.Point(115, 40);
this.partsTextBox.Name = "partsTextBox";
this.partsTextBox.ReadOnly = true;
this.partsTextBox.Size = new System.Drawing.Size(285, 23);
this.partsTextBox.TabIndex = 5;
this.partsTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// checkBox4
// servicesAndLaborTextBox
//
this.checkBox4.AutoSize = true;
this.checkBox4.Location = new System.Drawing.Point(14, 51);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(83, 19);
this.checkBox4.TabIndex = 1;
this.checkBox4.Text = "checkBox4";
this.checkBox4.UseVisualStyleBackColor = true;
this.servicesAndLaborTextBox.Location = new System.Drawing.Point(115, 14);
this.servicesAndLaborTextBox.Name = "servicesAndLaborTextBox";
this.servicesAndLaborTextBox.ReadOnly = true;
this.servicesAndLaborTextBox.Size = new System.Drawing.Size(285, 23);
this.servicesAndLaborTextBox.TabIndex = 4;
this.servicesAndLaborTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// checkBox5
// label6
//
this.checkBox5.AutoSize = true;
this.checkBox5.Location = new System.Drawing.Point(14, 76);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(83, 19);
this.checkBox5.TabIndex = 2;
this.checkBox5.Text = "checkBox5";
this.checkBox5.UseVisualStyleBackColor = true;
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(51, 101);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(58, 15);
this.label6.TabIndex = 3;
this.label6.Text = "Total Fees";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(31, 72);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(78, 15);
this.label5.TabIndex = 2;
this.label5.Text = "Tax (on parts)";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(76, 43);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(33, 15);
this.label4.TabIndex = 1;
this.label4.Text = "Parts";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(14, 19);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(95, 15);
this.label3.TabIndex = 0;
this.label3.Text = "Services && Labor";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.checkBox7);
this.groupBox4.Controls.Add(this.checkBox6);
this.groupBox4.Controls.Add(this.transmissionFlushCheckBox);
this.groupBox4.Controls.Add(this.radiatorFlushCheckBox);
this.groupBox4.Location = new System.Drawing.Point(218, 12);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(200, 100);
this.groupBox4.Size = new System.Drawing.Size(200, 76);
this.groupBox4.TabIndex = 3;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "groupBox4";
this.groupBox4.Text = "Flushes";
//
// checkBox6
// transmissionFlushCheckBox
//
this.checkBox6.AutoSize = true;
this.checkBox6.Location = new System.Drawing.Point(6, 22);
this.checkBox6.Name = "checkBox6";
this.checkBox6.Size = new System.Drawing.Size(83, 19);
this.checkBox6.TabIndex = 0;
this.checkBox6.Text = "checkBox6";
this.checkBox6.UseVisualStyleBackColor = true;
this.transmissionFlushCheckBox.AutoSize = true;
this.transmissionFlushCheckBox.Location = new System.Drawing.Point(6, 47);
this.transmissionFlushCheckBox.Name = "transmissionFlushCheckBox";
this.transmissionFlushCheckBox.Size = new System.Drawing.Size(169, 19);
this.transmissionFlushCheckBox.TabIndex = 1;
this.transmissionFlushCheckBox.Text = "Transmission Flush ($80.00)";
this.transmissionFlushCheckBox.UseVisualStyleBackColor = true;
//
// checkBox7
// radiatorFlushCheckBox
//
this.checkBox7.AutoSize = true;
this.checkBox7.Location = new System.Drawing.Point(6, 47);
this.checkBox7.Name = "checkBox7";
this.checkBox7.Size = new System.Drawing.Size(83, 19);
this.checkBox7.TabIndex = 1;
this.checkBox7.Text = "checkBox7";
this.checkBox7.UseVisualStyleBackColor = true;
this.radiatorFlushCheckBox.AutoSize = true;
this.radiatorFlushCheckBox.Location = new System.Drawing.Point(6, 22);
this.radiatorFlushCheckBox.Name = "radiatorFlushCheckBox";
this.radiatorFlushCheckBox.Size = new System.Drawing.Size(145, 19);
this.radiatorFlushCheckBox.TabIndex = 0;
this.radiatorFlushCheckBox.Text = "Radiator Flush ($30.00)";
this.radiatorFlushCheckBox.UseVisualStyleBackColor = true;
//
// groupBox5
//
@@ -186,21 +261,28 @@
this.groupBox5.Controls.Add(this.label2);
this.groupBox5.Controls.Add(this.textBox1);
this.groupBox5.Controls.Add(this.label1);
this.groupBox5.Location = new System.Drawing.Point(218, 118);
this.groupBox5.Location = new System.Drawing.Point(218, 94);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(200, 100);
this.groupBox5.Size = new System.Drawing.Size(200, 124);
this.groupBox5.TabIndex = 4;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "groupBox5";
this.groupBox5.Text = "Parts and Labor";
//
// label1
// textBox2
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(38, 15);
this.label1.TabIndex = 0;
this.label1.Text = "label1";
this.textBox2.Location = new System.Drawing.Point(65, 45);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 23);
this.textBox2.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 50);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(54, 15);
this.label2.TabIndex = 2;
this.label2.Text = "Labor ($)";
//
// textBox1
//
@@ -209,91 +291,51 @@
this.textBox1.Size = new System.Drawing.Size(100, 23);
this.textBox1.TabIndex = 1;
//
// label2
// label1
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 52);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(38, 15);
this.label2.TabIndex = 2;
this.label2.Text = "label2";
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(26, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(33, 15);
this.label1.TabIndex = 0;
this.label1.Text = "Parts";
//
// textBox2
// button1
//
this.textBox2.Location = new System.Drawing.Point(65, 52);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 23);
this.textBox2.TabIndex = 3;
this.button1.Location = new System.Drawing.Point(12, 362);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(109, 33);
this.button1.TabIndex = 5;
this.button1.Text = "calculateButton";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.calculateButton_Click);
//
// label3
// button2
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(90, 19);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(38, 15);
this.label3.TabIndex = 0;
this.label3.Text = "label3";
this.button2.Location = new System.Drawing.Point(163, 362);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(109, 33);
this.button2.TabIndex = 6;
this.button2.Text = "button2";
this.button2.UseVisualStyleBackColor = true;
//
// label4
// button3
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(90, 46);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(38, 15);
this.label4.TabIndex = 1;
this.label4.Text = "label4";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(90, 75);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(38, 15);
this.label5.TabIndex = 2;
this.label5.Text = "label5";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(90, 104);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(38, 15);
this.label6.TabIndex = 3;
this.label6.Text = "label6";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(134, 16);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(100, 23);
this.textBox3.TabIndex = 4;
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(134, 43);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(100, 23);
this.textBox4.TabIndex = 5;
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(134, 72);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(100, 23);
this.textBox5.TabIndex = 6;
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(134, 101);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(100, 23);
this.textBox6.TabIndex = 7;
this.button3.Location = new System.Drawing.Point(309, 362);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(109, 33);
this.button3.TabIndex = 7;
this.button3.Text = "button3";
this.button3.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(428, 424);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.groupBox5);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
@@ -318,28 +360,31 @@
#endregion
private GroupBox groupBox1;
private CheckBox checkBox2;
private CheckBox checkBox1;
private CheckBox lubeJobCheckBox;
private CheckBox oilChangeCheckBox;
private GroupBox groupBox2;
private CheckBox checkBox5;
private CheckBox checkBox4;
private CheckBox checkBox3;
private CheckBox tireRotationCheckBox;
private CheckBox replaceMufflerCheckBox;
private CheckBox inspectionCheckBox;
private GroupBox groupBox3;
private TextBox textBox6;
private TextBox textBox5;
private TextBox textBox4;
private TextBox textBox3;
private TextBox totalFeesTextBox;
private TextBox taxTextBox;
private TextBox partsTextBox;
private TextBox servicesAndLaborTextBox;
private Label label6;
private Label label5;
private Label label4;
private Label label3;
private GroupBox groupBox4;
private CheckBox checkBox7;
private CheckBox checkBox6;
private CheckBox transmissionFlushCheckBox;
private CheckBox radiatorFlushCheckBox;
private GroupBox groupBox5;
private TextBox textBox2;
private Label label2;
private TextBox textBox1;
private Label label1;
private Button button1;
private Button button2;
private Button button3;
}
}

View File

@@ -1,3 +1,5 @@
using System.CodeDom;
namespace JoesAutomotive_CalebFontenot
{
public partial class Form1 : Form
@@ -6,5 +8,75 @@ namespace JoesAutomotive_CalebFontenot
{
InitializeComponent();
}
private decimal OilLubeChanges(decimal total)
{
// Check if the appropiate check boxes are checked, and if they are, add their sums to total.
if (oilChangeCheckBox.Checked)
{
total += 26.00m;
}
if (lubeJobCheckBox.Checked)
{
total += 16.00m;
}
return total;
}
private decimal FlushCharges(decimal total)
{
// Check if the appropiate check boxes are checked, and if they are, add their sums to total.
if (radiatorFlushCheckBox.Checked)
{
total += 30.00m;
}
if (transmissionFlushCheckBox.Checked)
{
total += 80.00m;
}
return total;
}
private decimal MiscCharges(decimal total)
{
// Check if the appropiate check boxes are checked, and if they are, add their sums to total.
if (inspectionCheckBox.Checked)
{
total += 30.00m;
}
if (replaceMufflerCheckBox.Checked)
{
total += 80.00m;
}
if (tireRotationCheckBox.Checked)
{
total += 20.00m;
}
return total;
}
private decimal TotalCharges()
{
decimal total = 0m;
total = OilLubeChanges(total);
total = FlushCharges(total);
total = MiscCharges(total);
return total;
}
private decimal TaxCharges()
{
decimal total = 0m;
total = OilLubeChanges(total);
total = MiscCharges(total);
decimal tax = total * 0.06m;
return tax;
}
private void calculateButton_Click(object sender, EventArgs e)
{
decimal total = TotalCharges();
decimal tax = TaxCharges();
// Set textboxes
totalFeesTextBox.Text = total.ToString("c");
taxTextBox.Text = tax.ToString("c");
}
}
}
}

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"JoesAutomotive_CalebFontenot/1.0.0": {
"runtime": {
"JoesAutomotive_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"JoesAutomotive_CalebFontenot/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

View File

@@ -13,4 +13,4 @@ build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = JoesAutomotive_CalebFontenot
build_property.ProjectDir = Z:\media\DataEXT4\Documents\ASDV C#\MP4\JoesAutomotive_CalebFontenot\
build_property.ProjectDir = Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\

View File

@@ -0,0 +1 @@
4af807f560d01b5416dc17ea57338e30005fea04

View File

@@ -0,0 +1,17 @@
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\bin\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.exe
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\bin\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.deps.json
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\bin\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.runtimeconfig.json
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\bin\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\bin\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.csproj.AssemblyReference.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.Form1.resources
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.csproj.GenerateResource.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.GeneratedMSBuildEditorConfig.editorconfig
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.AssemblyInfoInputs.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.AssemblyInfo.cs
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.csproj.CoreCompileInputs.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\refint\JoesAutomotive_CalebFontenot.dll
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.pdb
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\JoesAutomotive_CalebFontenot.genruntimeconfig.cache
Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\JoesAutomotive_CalebFontenot\obj\Debug\net6.0-windows\ref\JoesAutomotive_CalebFontenot.dll

View File

@@ -13,7 +13,8 @@
],
"additionalProbingPaths": [
"C:\\Users\\caleb\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\caleb\\.nuget\\packages"
"C:\\Users\\caleb\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true

View File

@@ -0,0 +1 @@
a2bb0351846ed91152625ad64990a3cd51db5498

View File

@@ -1,20 +1,24 @@
{
"format": 1,
"restore": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj": {}
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj": {}
},
"projects": {
"Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj": {
"Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectName": "JoesAutomotive_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\obj\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -58,7 +62,7 @@
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.402\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,11 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\caleb\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\caleb\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\caleb\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -8,19 +8,24 @@
"net6.0-windows7.0": []
},
"packageFolders": {
"C:\\Users\\caleb\\.nuget\\packages\\": {}
"C:\\Users\\caleb\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectUniqueName": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectName": "JoesAutomotive_CalebFontenot",
"projectPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"packagesPath": "C:\\Users\\caleb\\.nuget\\packages\\",
"outputPath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\obj\\",
"outputPath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\caleb\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -64,7 +69,7 @@
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.402\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "1e92b+/GRJbd+KHtG8B7/PkzdS1releQsMWby82R4LtQwiui9AhutFWN7S5ORFGT1kb0LSqdv/+YQok6026k+g==",
"dgSpecHash": "Vyx7Bl9LzfgVdVnaZ2k1uMkXHcveYcpAZREuc4jz1SMmYCq0/hXDggMZrgOVnc9erFcC7x4dK10S61Mdpwb0Ng==",
"success": true,
"projectFilePath": "Z:\\media\\DataEXT4\\Documents\\ASDV C#\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"projectFilePath": "Z:\\home\\caleb\\Documents\\ASDV-C-Sharp\\MP4\\JoesAutomotive_CalebFontenot\\JoesAutomotive_CalebFontenot.csproj",
"expectedPackageFiles": [],
"logs": []
}