I have a scenario in which I have to create/display/Edit three different custom appointment types, all them deriving from AppointmentBase. This requirement creates problem in creating an appointment by double clicking on the slot. Therefore I would like do something as follows,
- Disable double click.
- Provide context menu to select the appointment type
- on user selection launch corresponding appointment type creation dialog.
- But when the user double clicks the existing appointment, I should get corresponding appointment types editing dialog
I have tried the context menu and followed up with scheduleview.Create(IAppointment appt), but how do I launch Appointment creation dialog. And call scheduleview.Commit() when the users clicks OK and call schedule.Cancel() when user clicks cancel.
Any help would appreciated.