We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Source code of AppointmentForm

Thread ID:





117016 Jul 20,2014 01:27 PM UTC Jul 21,2014 11:09 AM UTC WinForms 1
Tags: ScheduleControl
Sergiy Tokarchuk
Asked On July 20, 2014 01:27 PM UTC

Hi i have Syncfusion Enterprise with Source Codes and want to change the AppointmentFrom of Schedule form. But i cant find this form :(

Solai A L [Syncfusion]
Replied On July 21, 2014 11:09 AM UTC

Hi Sergiy ,

Thank for your interest in Syncfusion products.

To Customize the Appointment from of Schedule form. The IScheduleAppointmentList is used to find the new item in ScheduleControl as shown below. 

Code Snippet:

void scheduleControl_ShowingAppointmentForm(object sender, Syncfusion.Windows.Forms.Schedule.ShowingAppointFormEventArgs e)
AppointMentForm fr = new AppointMentForm();
IScheduleAppointment sch = e.Item.Clone() as IScheduleAppointment;
e.Cancel = true;
e.Handled = false;
fr.schedule = this.scheduleControl;
IScheduleAppointmentList list = this.dataprovider.GetScheduleForDay(e.Item.StartTime);
if (list.Contains(e.Item))
fr.newappointment = false;
fr.newappointment = true;
if (fr.newappointment)
fr.SetDataProvider(dataprovider, sch);
fr.SetDataProvider(dataprovider, e.Item);
IRecurringScheduleAppointment recurItem = e.Item as IRecurringScheduleAppointment;
fr.ShowRecurDialog.Text = recurItem.RecurrenceRule.Length > 0
? (RecurrenceSupport.IsSpanItem(recurItem) ? "Delete Span" : "EditRecurring")
: "MakeRecurring";

Please let us know if you have any concerns.

Thanks & Regards,



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon