/// <summary>
 /// Handles the BeforeAppointmentAdded event of the ultraCalendarInfo1 control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="CancelableAppointmentEventArgs"/> instance containing the event data.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 private void ultraCalendarInfo1_BeforeAppointmentAdded(object sender, CancelableAppointmentEventArgs e)
 {
     e.Cancel = true;
 }
 /// <summary>
 /// Handles the BeforeAppointmentEdited event of the UltraDayView controls.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="CancelableAppointmentEventArgs"/> instance containing the event data.</param>
 private void dayView_BeforeAppointmentEdited(object sender, CancelableAppointmentEventArgs e)
 {
     // We don't want to show the default appointment dialog, so cancel the event
     e.Cancel = true;
 }
Esempio n. 3
0
 /// <summary>
 /// Handles the BeforeAppointmentEdited event of the dvSchedule control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Infragistics.Win.UltraWinSchedule.CancelableAppointmentEventArgs"/> instance containing the event data.</param>
 private void dvSchedule_BeforeAppointmentEdited(object sender, CancelableAppointmentEventArgs e)
 {
     // cancel the event
     e.Cancel = true;
 }