// Token: 0x0600431B RID: 17179 RVA: 0x00133274 File Offset: 0x00131474 private void OnChanging(CalendarDateRangeChangingEventArgs e) { EventHandler <CalendarDateRangeChangingEventArgs> changing = this.Changing; if (changing != null) { changing(this, e); } }
private void OnChanging(CalendarDateRangeChangingEventArgs e) { EventHandler <CalendarDateRangeChangingEventArgs> handler = this.Changing; if (handler != null) { handler(this, e); } }
// Token: 0x06004304 RID: 17156 RVA: 0x00132F0C File Offset: 0x0013110C private void Item_Changing(object sender, CalendarDateRangeChangingEventArgs e) { CalendarDateRange calendarDateRange = sender as CalendarDateRange; if (calendarDateRange != null && !this.IsValid(e.Start, e.End)) { throw new ArgumentOutOfRangeException(SR.Get("Calendar_UnSelectableDates")); } }
/// <summary> /// Reject date range changes that would make the blackout dates collection invalid /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Item_Changing(object sender, CalendarDateRangeChangingEventArgs e) { CalendarDateRange item = sender as CalendarDateRange; if (item != null) { if (!IsValid(e.Start, e.End)) { throw new ArgumentOutOfRangeException(SR.Get(SRID.Calendar_UnSelectableDates)); } } }
private void OnChanging(CalendarDateRangeChangingEventArgs e) { EventHandler<CalendarDateRangeChangingEventArgs> handler = this.Changing; if (handler != null) { handler(this, e); } }