Example #1
0
        public DisplayQuote(Form mainMenu, DeskQuote deskQuote)
        {
            InitializeComponent();

            _mainMenu             = mainMenu;
            _deskQuote            = deskQuote;
            display_price.Text    = _deskQuote.QuotePrice.ToString();
            customer_name.Text    = _deskQuote.CustomerName;
            desk_width.Text       = _deskQuote.Desk.Width.ToString();
            desk_depth.Text       = _deskQuote.Desk.Depth.ToString();
            no_of_drawers.Text    = _deskQuote.Desk.NumberOfDrawers.ToString();
            surface_material.Text = _deskQuote.Desk.SurfaceMaterial.ToString();
            rush_order.Text       = _deskQuote.ShippingType.ToString();
        }