Example #1
0
 /// <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);
    }
 }
Example #2
0
 /// <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);
 }