Ejemplo n.º 1
0
        private void getQuoteValue()
        {
            int depth = GetDepth();
            int width = GetWidth();

            areaOutput.Text =
                "Area: " + DeskQuote.AreaCalculate(depth, width) + " in\xB2";
            areaCost.Text =
                DeskQuote.AreaCost(depth, width).ToString("C2");
            shippingCost.Text =
                DeskQuote.ShippingCost(shippingInput.Text, DeskQuote.AreaCalculate(depth, width), PullRushPrices()).ToString("C2");
            materialCost.Text =
                Desk.DeskMaterialCost(materialInput.Text).ToString("C2");

            CalculateTotal();
        }