예제 #1
0
 /// <summary>
 /// Processes TimeSlotDurationChanged events
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void CalendarView_TimeSlotDurationChanged(
     object sender, TimeSlotDurationChangedEventArgs e)
 {
     Refresh();
 }
예제 #2
0
        /// <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();
        }