Posted 15 years ago
by David Mullin
Version: 9.1.0502
Platform: .NET 3.5
Environment: Windows Vista (32-bit)
If I have a DateTimeEditBox control configured to show only Time - as follows:
If the field is empty and you click the up-arrow, I get an exception:
> mscorlib.dll!System.DateTime.AddTicks(long value) + 0xe3 bytes
mscorlib.dll!System.DateTime.Add(double value = -1.0, int scale) + 0x89 bytes
mscorlib.dll!System.DateTime.AddHours(double value) + 0x14 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.Parts.DateTimeHourPart.c() + 0xa39 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.Parts.DateTimeHourPart.CanDecrement.get() + 0xf3 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.PartEditBox.OnCanExecuteDecrementValue(System.Windows.Input.CanExecuteRoutedEventArgs e = {System.Windows.Input.CanExecuteRoutedEventArgs}) + 0x84 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.PartEditBox.c(object A_0 = {CaseTrakker.Windows.Controls.TimePicker}, System.Windows.Input.CanExecuteRoutedEventArgs A_1 = {System.Windows.Input.CanExecuteRoutedEventArgs}) + 0x46 bytes
I can provide a simple repro is needed.
David Mullin
Format = "t";
IsNullContentVisible = false;
SpinnerVisibility = Visibility.Visible;
DropDownButtonVisibility = Visibility.Collapsed;
EditableParts = DateTimeEditableParts.Time;
> mscorlib.dll!System.DateTime.AddTicks(long value) + 0xe3 bytes
mscorlib.dll!System.DateTime.Add(double value = -1.0, int scale) + 0x89 bytes
mscorlib.dll!System.DateTime.AddHours(double value) + 0x14 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.Parts.DateTimeHourPart.c() + 0xa39 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.Parts.DateTimeHourPart.CanDecrement.get() + 0xf3 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.PartEditBox.OnCanExecuteDecrementValue(System.Windows.Input.CanExecuteRoutedEventArgs e = {System.Windows.Input.CanExecuteRoutedEventArgs}) + 0x84 bytes
ActiproSoftware.Editors.Wpf30.dll!ActiproSoftware.Windows.Controls.Editors.PartEditBox.c(object A_0 = {CaseTrakker.Windows.Controls.TimePicker}, System.Windows.Input.CanExecuteRoutedEventArgs A_1 = {System.Windows.Input.CanExecuteRoutedEventArgs}) + 0x46 bytes
I can provide a simple repro is needed.
David Mullin