Beispiel #1
0
        /// <summary>
        /// Creates a new <see cref="CalendarTimeScaleUnit"/>
        /// </summary>
        /// <param name="day"><see cref="CalendarDay"/> this unit belongs to</param>
        /// <param name="index">Index of the unit relative to the container day</param>
        /// <param name="hours">Hour of the unit</param>
        /// <param name="minutes">Minutes of the unit</param>
        internal CalendarTimeScaleUnit(CalendarDay day, int index, int hours, int minutes)
            : base(day.Calendar)
        {
            _day     = day;
            _index   = index;
            _hours   = hours;
            _minutes = minutes;

            _passingItems = new List <CalendarItem>();
        }
Beispiel #2
0
 /// <summary>
 /// Creates a new DayTop for the specified day
 /// </summary>
 /// <param name="day"></param>
 public CalendarDayTop(CalendarDay day) : base(day.Calendar)
 {
     _day          = day;
     _passingItems = new List <CalendarItem>();
 }
 /// <summary>
 /// Creates a new event with the specified day
 /// </summary>
 /// <param name="day">Day of the event</param>
 public CalendarDayEventArgs(CalendarDay day)
 {
     _calendarDay = day;
 }