예제 #1
0
 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);
 }
예제 #2
0
 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);
 }