Exemplo n.º 1
0
        //[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);
        }
Exemplo n.º 2
0
 public void addTimetoDay(SingleAssignedTimeSlot timeSlot)
 {
     dayTimes.Add(timeSlot);
 }