/// <summary> /// Processes TimeSlotDurationChanged events /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void CalendarView_TimeSlotDurationChanged( object sender, TimeSlotDurationChangedEventArgs e) { Refresh(); }
/// <summary> /// Handles TimeSlotDurationChanged events /// </summary> /// <param name="sender">object</param> /// <param name="e">TimeSlotDurationChangedEventArgs</param> void TimeSlotDurationChanged( object sender, TimeSlotDurationChangedEventArgs e) { // Reset our slice selection range and // invalidate our control _SelectedSliceStart = 0; _SelectedSliceEnd = 0; NeedRecalcLayout = true; RecalcSize(); }