- Timestamp:
- Mar 3, 2011, 4:44:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGAVDocument.cs
r1095 r1097 169 169 DateTime sStart2 = a.StartTime; 170 170 DateTime sEnd2 = a.EndTime; 171 if ((a.AppointmentKey != pAppt.AppointmentKey) && (C GSchedLib.TimesOverlap(dNewStart, dNewEnd, a.StartTime, a.EndTime)))171 if ((a.AppointmentKey != pAppt.AppointmentKey) && (CalendarGrid.TimesOverlap(dNewStart, dNewEnd, a.StartTime, a.EndTime))) 172 172 { 173 173 MessageBox.Show("Access blocks may not overlap.","Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); … … 298 298 DateTime sStart2 = a.StartTime; 299 299 DateTime sEnd2 = a.EndTime; 300 if (C GSchedLib.TimesOverlap(aCopy.StartTime, aCopy.EndTime, a.StartTime, a.EndTime))300 if (CalendarGrid.TimesOverlap(aCopy.StartTime, aCopy.EndTime, a.StartTime, a.EndTime)) 301 301 { 302 302 // throw new Exception("Access blocks may not overlap."); … … 374 374 ArrayList apptTypeIDs = new ArrayList(); 375 375 376 rAppointmentSchedule = CGSchedLib.CreateA ssignedSlotSchedule(m_DocManager, (string) m_sResourcesArray[0], this.m_dStartDate, this.m_dEndDate, apptTypeIDs,/* */ this.m_ScheduleType, "0");376 rAppointmentSchedule = CGSchedLib.CreateAvailabilitySchedule(m_DocManager, m_sResourcesArray, this.m_dStartDate, this.m_dEndDate, apptTypeIDs,/* */ this.m_ScheduleType, "0"); 377 377 378 378 foreach (DataRow r in rAppointmentSchedule.Rows)
Note:
See TracChangeset
for help on using the changeset viewer.