public bool EditAppointment(IEvent appointment, ISchedulerData schedulerData) { this.appointment = appointment; this.schedulerData = schedulerData; // show OpenRecurringAppointmentDialog if (this.appointment != null && this.appointment.MasterEvent != null) { if (this.openRecurringAppointmentDialog == null) { this.openRecurringAppointmentDialog = new OpenRecurringAppointmentDialog(); } this.openRecurringAppointmentDialog.ThemeName = this.ThemeName; this.openRecurringAppointmentDialog.EventName = appointment.Summary; DialogResult result = this.openRecurringAppointmentDialog.ShowDialog(); if (result != DialogResult.OK) { return(false); } bool editOccurrence = this.openRecurringAppointmentDialog.EditOccurrence; if (!editOccurrence) { this.appointment = this.appointment.MasterEvent as OutlookLikeAppointment; } } return(true); }
public bool EditAppointment(Telerik.WinControls.UI.IEvent appointment, Telerik.WinControls.UI.ISchedulerData schedulerData) { this.appointment = appointment; this.schedulerData = schedulerData; return(true); }