コード例 #1
0
        protected override bool ParseText(string text, out TimeSpan time)
        {
            if (CustomTimePickerHelpers.ParseComboBoxItem(new DateTime(StartTime.Ticks), text, out time))
            {
                // Time must be greater than start time
                return(time > StartTime);
            }

            time = default;
            return(false);
        }
コード例 #2
0
 protected virtual bool ParseText(string text, out TimeSpan time)
 {
     return(CustomTimePickerHelpers.ParseComboBoxItem(DateTime.MinValue, text, out time));
 }