/// <summary>
 /// Get all the information from the quore and
 /// display to the user
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void DisplayQuote_Load(object sender, EventArgs e)
 {
     // populate all the labels with quote info
     dateFinal.Text     = quote.QuoteDate.ToString("MMM dd, yyyy");
     nameFinal.Text     = quote.CustomerName;
     shippingFinal.Text = EnumHelpers.GetDescription <Shipping>(quote.Shipping);
     widthFinal.Text    = quote.Desk.Width.ToString();
     depthFinal.Text    = quote.Desk.Depth.ToString();
     drawersFinal.Text  = quote.Desk.NumberOfDrawers.ToString();
     materialFinal.Text = quote.Desk.SurfaceMaterial.ToString();
     shippingPrice.Text = "$ " + quote.ShippingPrice.ToString();
     total.Text         = "$ " + quote.QuotePrice.ToString();
 }
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddQuote_Load(object sender, EventArgs e)
        {
            // Fill "material" dropdown with enum values
            material.DataSource   = Enum.GetValues(typeof(SurfaceMaterial));
            material.SelectedItem = SurfaceMaterial.Pine;

            // Fill "shipping" dropdown with enum values
            // Make list of shipping descriptions
            List <string> shippingDescriptions = new List <string>();

            foreach (int shippingOption in Shipping.GetValues(typeof(Shipping)))
            {
                shippingDescriptions.Add(EnumHelpers.GetDescription <Shipping>((Shipping)shippingOption));
            }
            delivery.DataSource   = shippingDescriptions;
            delivery.SelectedItem = EnumHelpers.GetDescription <Shipping>(Shipping.NoRush);
        }