[]
        
(Showing Draft Content)

C1.Win.C1Schedule.Forms.AppointmentForm.-ctor

AppointmentForm Constructor

AppointmentForm(C1Schedule)

Initializes a new instance of the AppointmentForm form with default settings.

Declaration
public AppointmentForm(C1Schedule schedule)
Parameters
Type Name Description
C1Schedule schedule

The owning C1Schedule component.

AppointmentForm(C1Schedule, DateTime, DateTime, bool, bool)

Initializes a new instance of the AppointmentForm form with default settings.

Declaration
public AppointmentForm(C1Schedule schedule, DateTime start, DateTime end, bool allDay, bool recurring)
Parameters
Type Name Description
C1Schedule schedule

The owning C1Schedule component.

DateTime start

The start of an appointment.

DateTime end

The end of an appointment.

bool allDay

Determines whether the new appointment should be an AllDay event.

bool recurring

Determines whether the new appointment should be recurring.

AppointmentForm(C1Schedule, Appointment)

Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.

Declaration
public AppointmentForm(C1Schedule schedule, Appointment appointment)
Parameters
Type Name Description
C1Schedule schedule

The owning C1Schedule component.

Appointment appointment

The Appointment object.

AppointmentForm(C1Schedule, Appointment, bool)

Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.

Declaration
public AppointmentForm(C1Schedule schedule, Appointment appointment, bool editRecurrence)
Parameters
Type Name Description
C1Schedule schedule

The owning C1Schedule component.

Appointment appointment

The Appointment object.

bool editRecurrence

Determines whether the RecurrenceForm dialog should be shown after the form opening.

AppointmentForm(C1Schedule, Appointment, bool, bool)

Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.

Declaration
public AppointmentForm(C1Schedule schedule, Appointment appointment, bool editRecurrence, bool isNew)
Parameters
Type Name Description
C1Schedule schedule

The owning C1Schedule component.

Appointment appointment

The Appointment object.

bool editRecurrence

Determines whether the RecurrenceForm dialog should be shown after the form opening.

bool isNew

Determines whether the Appointment object is the new one and hasn't been added to AppointmentStorage yet.