Please go through Attached PDF
ShippingCalc/.vs/ShippingCalc/v16/.suo ShippingCalc/ShippingCalc.sln Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30621.155 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShippingCalc", "ShippingCalc\ShippingCalc.csproj", "{6AE3F5A1-6EA7-4C35-8BF3-99AB00EE801A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {6AE3F5A1-6EA7-4C35-8BF3-99AB00EE801A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6AE3F5A1-6EA7-4C35-8BF3-99AB00EE801A}.Debug|Any CPU.Build.0 = Debug|Any CPU {6AE3F5A1-6EA7-4C35-8BF3-99AB00EE801A}.Release|Any CPU.ActiveCfg = Release|Any CPU {6AE3F5A1-6EA7-4C35-8BF3-99AB00EE801A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A6BD3B59-D9B6-48EC-B75A-25A7A642B155} EndGlobalSection EndGlobal ShippingCalc/ShippingCalc/App.config ShippingCalc/ShippingCalc/frmShippingCalc.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ShippingCalc { public partial class frmShippingCalc : Form { public frmShippingCalc() { InitializeComponent(); } } } ShippingCalc/ShippingCalc/frmShippingCalc.Designer.cs namespace ShippingCalc { partial class frmShippingCalc { ///
/// Required designer variable. ///
private System.ComponentModel.IContainer components = null; ///
/// Clean up any resources being used. ///
/// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code ///
/// Required method for Designer support - do not modify /// the contents of this method with the code editor. ///
private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.txtWeight = new System.Windows.Forms.TextBox(); this.txtDistance = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblShippingCharge = new System.Windows.Forms.Label(); this.btnCalculate = new System.Windows.Forms.Button(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(50, 31); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(142, 19); this.label1.TabIndex = 0; this.label1.Text = "Package Weight (kg)"; // // txtWeight // this.txtWeight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWeight.Location = new System.Drawing.Point(54, 53); this.txtWeight.Name = "txtWeight"; this.txtWeight.Size = new System.Drawing.Size(207, 21); this.txtWeight.TabIndex = 1; this.txtWeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtDistance // this.txtDistance.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtDistance.Location = new System.Drawing.Point(54, 110); this.txtDistance.Name = "txtDistance"; this.txtDistance.Size = new System.Drawing.Size(207, 21); this.txtDistance.TabIndex = 3; this.txtDistance.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(50, 88); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(211, 19); this.label2.TabIndex = 2; this.label2.Text = "Distance to Destination (miles)"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(50, 148); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(114, 19); this.label3.TabIndex = 4; this.label3.Text = "Shipping Charge"; // // lblShippingCharge // this.lblShippingCharge.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblShippingCharge.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblShippingCharge.Location = new System.Drawing.Point(54, 171); this.lblShippingCharge.Name = "lblShippingCharge"; this.lblShippingCharge.Size = new System.Drawing.Size(207, 23); this.lblShippingCharge.TabIndex = 5; this.lblShippingCharge.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnCalculate // this.btnCalculate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCalculate.Location = new System.Drawing.Point(54, 209); this.btnCalculate.Name = "btnCalculate"; this.btnCalculate.Size = new System.Drawing.Size(207, 39); this.btnCalculate.TabIndex = 6; this.btnCalculate.Text = "Calculate Shipping";