Search
AppointmentForm.SetDates Method
See Also
 





Sets the dates to be used to initialize the form if no appointment is initially set.

Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling.WinForms.StandardForms

 Syntax

C#  Copy Code

public void SetDates (
    DateTime start,
    DateTime end,
    bool allDay
)

Visual Basic  Copy Code

Public Sub SetDates( _
    start As DateTime, _
    end As DateTime, _
    allDay As Boolean _
)

 Parameters

start
A DateTime instance specifying the initial start date of the new appointment.
end
A DateTime instance specifying the initial end date of the new appointment.
allDay
A Boolean flag indicating whether the appointment is an all-day event initially.

 Remarks

After you create a new instance of the AppointmentForm class, either call SetAppointment to select existing appointment for editing, or optionally call SetDates to initialize some fields on the form.

 See Also