Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-separate-shift-conflicted-appointments-while-dragging-another-appointment-e5007/VB/WindowsFormsApplication1/Form1.vb#L79
Dim subjPrefix As String = resource.Caption & "'s "
eventList.Add(CreateEvent(subjPrefix & "meeting", resource.Id, 2, 5, 2))
eventList.Add(CreateEvent(subjPrefix & "travel", resource.Id, 3, 6, 6))
how-to-reorder-resources-in-schedulercontrol-views-via-the-drag-drop-operation-winforms-ve-t226936/VB/WindowsFormsApplication1/Form1.vb#L83
Dim subjPrefix As String = resource.Caption & "'s "
eventList.Add(CreateEvent(subjPrefix & "meeting", resource.Id, 2, 5))
eventList.Add(CreateEvent(subjPrefix & "travel", resource.Id, 3, 6))
how-to-use-all-day-header-to-display-scheduled-time-statistics-e121/VB/DataFiller.vb#L34
storage.Appointments.Add(AptCreate(storage, resource.Id, subjPrefix & "meeting", 2, 5))
storage.Appointments.Add(AptCreate(storage, resource.Id, subjPrefix & "travel", 3, 6))
how-to-zoom-dayview-in-a-custom-manner-via-the-ctrlmouse-wheel-combination-e5158/VB/SchedulerControlCustomZooming/DXApplication5/Data/DataHelper.vb#L35
Dim subjPrefix As String = resource.Caption & "'s "
eventList.Add(CreateEvent(subjPrefix & "meeting", resource.Id, 2, 5, storage))
eventList.Add(CreateEvent(subjPrefix & "travel", resource.Id, 3, 6, storage))
wpf-schedulercontrol-api-t442105/VB/SchedulerControl_WPF_API/CodeExamples/AppointmentConflicts.vb#L15
Dim apt1 As Appointment = scheduler.Storage.AppointmentStorage.CreateAppointment(AppointmentType.Normal, Date.Now, Date.Now.AddHours(2))
apt1.ResourceId = scheduler.Storage.ResourceStorage(0).Id
scheduler.Storage.AppointmentStorage.Add(apt1)