public DateTimeEditBoxStepBehavior(DateTimeEditBox box, int step) { this.box = box; this.step = step; box.ValueChanging += new EventHandler <ActiproSoftware.Windows.PropertyChangingRoutedEventArgs <DateTime?> >(box_ValueChanging); box.ValueChanged += new EventHandler <ActiproSoftware.Windows.PropertyChangedRoutedEventArgs <DateTime?> >(box_ValueChanged); }
public DateTimeEditBoxStepBehavior(DateTimeEditBox box, int step) { this.box = box; this.step = step; box.ValueChanging += new EventHandler<ActiproSoftware.Windows.PropertyChangingRoutedEventArgs<DateTime?>>(box_ValueChanging); box.ValueChanged += new EventHandler<ActiproSoftware.Windows.PropertyChangedRoutedEventArgs<DateTime?>>(box_ValueChanged); }