示例#1
0
 private void OnOpenItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
 {
     OwnerScheduler.Storage.AppointmentsChanged += OnAppointmentsChanged;
     OwnerScheduler.ShowEditAppointmentForm(SelectedAppointment.SourceAppointment, SelectedAppointment.SourceAppointment.IsRecurring);
 }
示例#2
0
 private void gridViewAppointments_RowDoubleClick(object sender, RowDoubleClickEventArgs e)
 {
     OwnerScheduler.Storage.AppointmentsChanged -= OnAppointmentsChanged;
     OwnerScheduler.Storage.AppointmentsChanged += OnAppointmentsChanged;
     OwnerScheduler.ShowEditAppointmentForm(SelectedAppointment.SourceAppointment, SelectedAppointment.SourceAppointment.IsRecurring);
 }