- Timestamp:
- Dec 8, 2010, 9:44:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CalendarGrid.cs
r1027 r1038 667 667 int startTotalMinutesoffset = (int) startTime.TimeOfDay.TotalMinutes; 668 668 int endTotalMinutesoffset = (int) endTime.TimeOfDay.TotalMinutes; 669 670 // To fix a bug with 1 day view: if the start time of appt is before Calendar Start Date, don't draw anything. 671 if (startTime < this.m_dtStart) 672 { 673 bRet = false; 674 return rectangle; 675 } 676 669 677 // if grid has more than one reource 670 678 if (this.m_sResourcesArray.Count > 1) … … 677 685 else 678 686 { 679 //columnToPutAppt = (startTime - this.m_dtStart).Days + 1;680 //test sam681 687 columnToPutAppt = (startTime - this.m_dtStart).Days + 1; 682 688 } 683 if (columnToPutAppt < 1) 684 { 685 bRet = false; 686 return rectangle; 687 } 689 // this if should not get tripped; it did the same function as the new first if check. 690 //if (columnToPutAppt < 1) 691 //{ 692 // bRet = false; 693 // return rectangle; 694 //} 688 695 originX = col0Width + (cellWidth * (columnToPutAppt - 1)); 689 696 int num8 = startTotalMinutesoffset + this.m_nTimeScale;
Note:
See TracChangeset
for help on using the changeset viewer.