Habanero.Faces.Base.DateRangeComboBoxManager.AddDateOption C# (CSharp) Method

AddDateOption() public method

Adds a date range option to the current list of options available
public AddDateOption ( DateRangeOptions option ) : void
option DateRangeOptions The date range option to add
return void
        public void AddDateOption(DateRangeOptions option)
        {
            if (!_optionsToDisplay.Contains(option))
            {
                _optionsToDisplay.Add(option);
                _comboBox.Items.Add(_dateRangePairs[option]);
            }
        }