This manager groups common logic for IDateRangeComboBox objects. Do not use this object in working code - rather call CreateDateRangeComboBox in the appropriate control factory.
コード例 #1
0
 /// <summary>
 /// Constructor to initialiase a new ComboBox with a specific set
 /// of date range options to display
 /// </summary>
 /// <param name="optionsToDisplay">A list of date range options</param>
 public DateRangeComboBoxVWG(List<DateRangeOptions> optionsToDisplay)
 {
     _manager = new DateRangeComboBoxManager(this);
     _manager.OptionsToDisplay = optionsToDisplay;
     _manager.InitialiseValues();
 }
コード例 #2
0
 /// <summary>
 /// Constructor to initialise a new ComboBox with a selection of
 /// date range options that are suited to a timeless system
 /// </summary>
 public DateRangeComboBoxVWG()
 {
     _manager = new DateRangeComboBoxManager(this);
 }