[]
Initializes a new instance of the AppointmentForm form with default settings.
public AppointmentForm(C1Schedule schedule)
| Type | Name | Description |
|---|---|---|
| C1Schedule | schedule | The owning C1Schedule component. |
Initializes a new instance of the AppointmentForm form with default settings.
public AppointmentForm(C1Schedule schedule, DateTime start, DateTime end, bool allDay, bool recurring)
| 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. |
Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.
public AppointmentForm(C1Schedule schedule, Appointment appointment)
| Type | Name | Description |
|---|---|---|
| C1Schedule | schedule | The owning C1Schedule component. |
| Appointment | appointment | The Appointment object. |
Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.
public AppointmentForm(C1Schedule schedule, Appointment appointment, bool editRecurrence)
| 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. |
Initializes a new instance of the AppointmentForm form for editing of the specified Appointment object.
public AppointmentForm(C1Schedule schedule, Appointment appointment, bool editRecurrence, bool isNew)
| 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. |