//[FUNCTION - GetTimeSlotString] //Returns the info to be displayed on rectangle given particular timeslot private string GetTimeSlotString(SingleAssignedTimeSlot timeSlot, int displayCount) { string result = ""; result += graphedSchedules[(int)curScheduleIndex].getAllSections()[timeSlot.getSectionID()].getID() + "\n"; result += graphedSchedules[(int)curScheduleIndex].getAllSections()[timeSlot.getSectionID()].getStartTimes()[0].Trim() + " -\n"; result += graphedSchedules[(int)curScheduleIndex].getAllSections()[timeSlot.getSectionID()].getStopTimes()[0].Trim() + "\n"; //result += timeSlot.getStart() + " -\n"; //result += timeSlot.getEnd() + "\n"; return(result); }
public void addTimetoDay(SingleAssignedTimeSlot timeSlot) { dayTimes.Add(timeSlot); }