/// <summary> /// Raises the <see cref="ActiveDateChanged"/> event. /// </summary> /// <param name="e">A <see cref="ActiveDateChangedEventArgs"/> that contains the event data.</param> protected virtual void OnActiveDateChanged(ActiveDateChangedEventArgs e) { if (this.ActiveDateChanged != null) { this.ActiveDateChanged(this, e); } }
/// <summary> /// Handles the <see cref="MonthCalendar.ActiveDateChanged"/> event. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">A <see cref="ActiveDateChangedEventArgs"/> that contains the event data.</param> private void MonthCalendarActiveDateChanged(object sender, ActiveDateChangedEventArgs e) { this.OnActiveDateChanged(e); }