Пример #1
0
 private void AddQuote_Load(object sender, EventArgs e)
 {
     quote = new DeskQuote();
     SurfaceMaterialDropDown.DataSource = Enum.GetValues(typeof(SurfaceMaterial));
     ValidateDisplay.Visible            = false;
     ShippingDays.DataSource            = new RushDays[]
     {
         new RushDays {
             ID = 0, Text = "Standard (14 Days)"
         },
         new RushDays {
             ID = 3, Text = "Three Day (3 Days)"
         },
         new RushDays {
             ID = 5, Text = "Five Day (5 Days)"
         },
         new RushDays {
             ID = 7, Text = "One Week (7 Days)"
         }
     };
 }
Пример #2
0
 private void RejectQuoteButton_Click(object sender, EventArgs e)
 {
     quote = new DeskQuote();
     ValidateDisplay.Visible = false;
     CalculateButton.Enabled = true;
 }