コード例 #1
0
        private void PopulateOrderDays()
        {
            _reqComboBoxOrderDays.DataSource    = DeskQuote.getFriendlyDaysOrdered();
            _reqComboBoxOrderDays.DisplayMember = "Key";
            _reqComboBoxOrderDays.ValueMember   = "Value";

            // don't select anything when the page loads
            _reqComboBoxOrderDays.SelectedIndex = -1;
        }