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