Пример #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="baseItem"></param>
        public MonthWeek(BaseItem baseItem)
        {
            // Allocate our DayRects array

            _DayRects = new ItemRects(baseItem, DaysInWeek);
            _MoreItems = new ItemRects(baseItem, DaysInWeek);
        }
Пример #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="yearView"></param>
        /// <param name="date"></param>
        public YearMonth(YearView yearView, DateTime date)
        {
            _YearView = yearView;

            StartDate = date;

            _DayRects = new ItemRects(yearView, MaxDays);
            _AppBits = new BitArray(32);
        }