[]
Initializes a new instance of the AppointmentForm form with default settings.
public AppointmentForm(C1Schedule schedule)
Public Sub New(schedule As C1Schedule)
| 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)
Public Sub New(schedule As C1Schedule, start As Date, [end] As Date, allDay As Boolean, recurring As Boolean)
| 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)
Public Sub New(schedule As C1Schedule, appointment As 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)
Public Sub New(schedule As C1Schedule, appointment As Appointment, editRecurrence As Boolean)
| 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)
Public Sub New(schedule As C1Schedule, appointment As Appointment, editRecurrence As Boolean, isNew As Boolean)
| 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. |