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