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/CS/WindowsFormsApplication1/Form1.cs#L86
string subjPrefix = 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/CS/WindowsFormsApplication1/Form1.cs#L81
string subjPrefix = 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/CS/DataFiller.cs#L35
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/CS/SchedulerControlCustomZooming/DXApplication5/Data/DataHelper.cs#L42
string subjPrefix = resource.Caption + "'s ";
eventList.Add(CreateEvent(subjPrefix + "meeting", resource.Id, 2, 5, storage));
eventList.Add(CreateEvent(subjPrefix + "travel", resource.Id, 3, 6, storage));
winforms-schedulercontrol-api-t224044/CS/SchedulerAPISample/CodeExamples/AppointmentConflicts.cs#L22
Appointment apt1 = scheduler.DataStorage.Appointments.CreateAppointment(AppointmentType.Normal, DateTime.Now, DateTime.Now.AddHours(2));
apt1.ResourceId = scheduler.DataStorage.Resources[0].Id;
scheduler.DataStorage.Appointments.Add(apt1);
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))
winforms-schedulercontrol-api-t224044/VB/SchedulerAPISample/CodeExamples/AppointmentConflicts.vb#L20
Dim apt1 As Appointment = scheduler.DataStorage.Appointments.CreateAppointment(AppointmentType.Normal, Date.Now, Date.Now.AddHours(2))
apt1.ResourceId = scheduler.DataStorage.Resources(0).Id
scheduler.DataStorage.Appointments.Add(apt1)