Hi,
From my main form (where scheduler is), I am trying to add new appointment and show edit form like this:
IEvent newAppointment =
new
CustomAppointment();
newAppointment.Start = Record.RecordStart;
newAppointment.End = DateTime.Now;
// ...
cScheduler.Appointments.Add(newAppointment);
cScheduler.ShowAppointmentEditDialog(newAppointment,
false
);
The problem is when user click cancel or close button in edit form. After that appointment will be still in collection.
How to check if user cancel appointment and delete it form collection?