Пример #1
0
        public SelectedDatesCollection(MonthCalendar owner, SelectedDatesCollection dates) : this(owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            this.owner = owner;

            this.Add(dates);
        }
Пример #2
0
        public void Add(SelectedDatesCollection dates)
        {
            if (dates == null)
            {
                throw new ArgumentNullException("dates");
            }

            for (int i = 0; i < dates.Count; i++)
            {
                this.Add(dates[i]);
            }
        }